aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorFan Zhang <roy.fan.zhang@intel.com>2020-11-26 17:01:05 +0000
committerDamjan Marion <dmarion@me.com>2020-11-26 21:33:13 +0000
commit98e682dd914363e0c53bd88e7f6c68287761e633 (patch)
tree62c0bfb9796c5ed670ede21ac916df1a9689e192 /build
parent0b8fccb4036339c1df57e5db6f790ec552d7df65 (diff)
crypto: improve ipsecmb engine performance
Type: improvement This patch improves ipsecmb engine performance by disabling safety features: SAFE_DATA, SAFE_PARAM, and SAFE_LOOKUP. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I756edc54d6bc35a1b0e9383e94cba0f73cf663cb
Diffstat (limited to 'build')
-rw-r--r--build/external/packages/ipsec-mb.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/external/packages/ipsec-mb.mk b/build/external/packages/ipsec-mb.mk
index 9e1e14289e3..fcbfa15ac33 100644
--- a/build/external/packages/ipsec-mb.mk
+++ b/build/external/packages/ipsec-mb.mk
@@ -30,6 +30,9 @@ endef
define ipsec-mb_build_cmds
@make -C $(ipsec-mb_src_dir) -j \
SHARED=n \
+ SAFE_PARAM=n \
+ SAFE_LOOKUP=n \
+ SAFE_DATA=n \
PREFIX=$(ipsec-mb_install_dir) \
NASM=$(ipsec-mb_install_dir)/bin/nasm \
EXTRA_CFLAGS="-g -msse4.2" > $(ipsec-mb_build_log)