crypto-native: add AArch64 AES-GCM native implementation
[vpp.git] / src / plugins / crypto_native / main.c
index d338ab6..45d3d8d 100644 (file)
@@ -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