X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fcrypto_ipsecmb%2Fipsecmb.c;h=7495452eb29300ef256129e5af478bd35a95713c;hb=c74009dce1b2f1466112775a68a5608d754c7c76;hp=7a80b39da637c9c4966f181511803bd34dc6fba2;hpb=7fa4160c471105b5738b46600ce335462d5d75aa;p=vpp.git diff --git a/src/plugins/crypto_ipsecmb/ipsecmb.c b/src/plugins/crypto_ipsecmb/ipsecmb.c index 7a80b39da63..7495452eb29 100644 --- a/src/plugins/crypto_ipsecmb/ipsecmb.c +++ b/src/plugins/crypto_ipsecmb/ipsecmb.c @@ -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 */