ipsec-mb: fix the "make test" on non-AESNI platforms
"make test" fails with invalid instruction on non-AESNI platform,
so do not register the ipsec-mb crypto backend in this case.
@@ -478,6 +478,9 @@ crypto_ipsecmb_init (vlib_main_t * vm)
if ((error = vlib_call_init_function (vm, vnet_crypto_init)))
return error;
+ if (!clib_cpu_supports_aes ())
+ return 0;
+
/*
* A priority that is better than OpenSSL but worse than VPP natvie
*/
