diff options
author | Damjan Marion <damarion@cisco.com> | 2020-05-11 14:03:29 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2020-05-11 21:09:04 +0200 |
commit | 73a60b2da44847f3725d362a49207330d4d22aa5 (patch) | |
tree | 28cce70187bb368298dea6f2cfabed573a7e500f /src/plugins/crypto_native/aes_cbc.c | |
parent | 1ae16c8f3bebe33b2404ad845a2f09f910a06390 (diff) |
crypto-native: properly deal with broken or outdated toolchains
Avoids crash due to missing symbol, when build system detects toolchain
which is not able to produce binaries for all targets we need....
Type: fix
Change-Id: I77ee63cb8dca3c9e4e83a6235c60f1439a472444
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/crypto_native/aes_cbc.c')
-rw-r--r-- | src/plugins/crypto_native/aes_cbc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/crypto_native/aes_cbc.c b/src/plugins/crypto_native/aes_cbc.c index e147ca66511..7589b4552d3 100644 --- a/src/plugins/crypto_native/aes_cbc.c +++ b/src/plugins/crypto_native/aes_cbc.c @@ -474,15 +474,15 @@ foreach_aes_cbc_handler_type; clib_error_t * #ifdef __VAES__ -crypto_native_aes_cbc_init_vaes (vlib_main_t * vm) +crypto_native_aes_cbc_init_icl (vlib_main_t * vm) #elif __AVX512F__ -crypto_native_aes_cbc_init_avx512 (vlib_main_t * vm) +crypto_native_aes_cbc_init_skx (vlib_main_t * vm) #elif __aarch64__ crypto_native_aes_cbc_init_neon (vlib_main_t * vm) #elif __AVX2__ -crypto_native_aes_cbc_init_avx2 (vlib_main_t * vm) +crypto_native_aes_cbc_init_hsw (vlib_main_t * vm) #else -crypto_native_aes_cbc_init_sse42 (vlib_main_t * vm) +crypto_native_aes_cbc_init_slm (vlib_main_t * vm) #endif { crypto_native_main_t *cm = &crypto_native_main; |