diff options
author | Damjan Marion <damarion@cisco.com> | 2019-12-19 13:27:28 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-01-27 21:36:19 +0000 |
commit | e9595dba26b32abb673f74b777429ae5640dc325 (patch) | |
tree | f397ca1be176d8ad879e3c83cc84545bc3a7223d /src/plugins/crypto_ia32/aes_gcm.c | |
parent | bd5c49a1615e36260a86184d087b5b47a5e747be (diff) |
crypto-ia32: add VAES support for AES-CBC
Type: feature
Change-Id: Ic8aa6c48913677537301971469f9627b70c1cec8
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/crypto_ia32/aes_gcm.c')
-rw-r--r-- | src/plugins/crypto_ia32/aes_gcm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/crypto_ia32/aes_gcm.c b/src/plugins/crypto_ia32/aes_gcm.c index a21ecf3e6df..e45dda79faf 100644 --- a/src/plugins/crypto_ia32/aes_gcm.c +++ b/src/plugins/crypto_ia32/aes_gcm.c @@ -746,7 +746,9 @@ foreach_aesni_gcm_handler_type; #undef _ clib_error_t * -#ifdef __AVX512F__ +#ifdef __VAES__ +crypto_ia32_aesni_gcm_init_vaes (vlib_main_t * vm) +#elif __AVX512F__ crypto_ia32_aesni_gcm_init_avx512 (vlib_main_t * vm) #elif __AVX2__ crypto_ia32_aesni_gcm_init_avx2 (vlib_main_t * vm) |