diff options
Diffstat (limited to 'src/plugins/crypto_native/main.c')
-rw-r--r-- | src/plugins/crypto_native/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/crypto_native/main.c b/src/plugins/crypto_native/main.c index d338ab6d910..45d3d8dfe4e 100644 --- a/src/plugins/crypto_native/main.c +++ b/src/plugins/crypto_native/main.c @@ -102,9 +102,10 @@ crypto_native_init (vlib_main_t * vm) } #endif #if __aarch64__ - error = crypto_native_aes_cbc_init_neon (vm); + if ((error = crypto_native_aes_cbc_init_neon (vm))) + goto error; - if (error) + if ((error = crypto_native_aes_gcm_init_neon (vm))) goto error; #endif |