diff options
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) |