From: Fan Zhang Date: Wed, 25 May 2016 09:00:45 +0000 (+0100) Subject: examples/l2fwd-crypto: enable AES-XCBC-MAC authentication algo X-Git-Tag: spdx-start~6824 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=211e8002665158f6a9b8a55ca776e36aa2740b56;p=dpdk.git examples/l2fwd-crypto: enable AES-XCBC-MAC authentication algo This patch enables AES-XCBC-MAC authentication algorithm support to l2fwd-crypto sample application. Signed-off-by: Fan Zhang --- diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 66fc874df1..c4cd98da64 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -341,6 +341,8 @@ fill_supported_algorithm_tables(void) strcpy(supported_auth_algo[RTE_CRYPTO_AUTH_AES_GCM], "AES_GCM"); strcpy(supported_auth_algo[RTE_CRYPTO_AUTH_MD5_HMAC], "MD5_HMAC"); strcpy(supported_auth_algo[RTE_CRYPTO_AUTH_NULL], "NULL"); + strcpy(supported_auth_algo[RTE_CRYPTO_AUTH_AES_XCBC_MAC], + "AES_XCBC_MAC"); strcpy(supported_auth_algo[RTE_CRYPTO_AUTH_SHA1_HMAC], "SHA1_HMAC"); strcpy(supported_auth_algo[RTE_CRYPTO_AUTH_SHA224_HMAC], "SHA224_HMAC"); strcpy(supported_auth_algo[RTE_CRYPTO_AUTH_SHA256_HMAC], "SHA256_HMAC");