From: Pablo de Lara Date: Mon, 27 Feb 2017 14:38:43 +0000 (+0000) Subject: cryptodev: add missing algorithm strings X-Git-Tag: spdx-start~3751 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e26690f4fcc4b15f5b7a20485cf8a18f7e101583;p=dpdk.git cryptodev: add missing algorithm strings DES-CBC and AUTH NULL algorithms were missing in the array of algorithm strings. Signed-off-by: Pablo de Lara Acked-by: Fiona Trahe Acked-by: Hemant Agrawal --- diff --git a/lib/librte_cryptodev/rte_cryptodev.c b/lib/librte_cryptodev/rte_cryptodev.c index a64320ea70..fedb9d0997 100644 --- a/lib/librte_cryptodev/rte_cryptodev.c +++ b/lib/librte_cryptodev/rte_cryptodev.c @@ -133,6 +133,8 @@ rte_crypto_cipher_algorithm_strings[] = { [RTE_CRYPTO_CIPHER_ARC4] = "arc4", + [RTE_CRYPTO_CIPHER_DES_CBC] = "des-cbc", + [RTE_CRYPTO_CIPHER_NULL] = "null", [RTE_CRYPTO_CIPHER_KASUMI_F8] = "kasumi-f8", @@ -166,6 +168,8 @@ rte_crypto_auth_algorithm_strings[] = { [RTE_CRYPTO_AUTH_MD5] = "md5", [RTE_CRYPTO_AUTH_MD5_HMAC] = "md5-hmac", + [RTE_CRYPTO_AUTH_NULL] = "null", + [RTE_CRYPTO_AUTH_SHA1] = "sha1", [RTE_CRYPTO_AUTH_SHA1_HMAC] = "sha1-hmac",