DES-CBC and AUTH NULL algorithms were missing in
the array of algorithm strings.

Signed-off-by: Pablo de Lara <pablo.de.lara.gua...@intel.com>
Acked-by: Fiona Trahe <fiona.tr...@intel.com>
Acked-by: Hemant Agrawal <hemant.agra...@nxp.com>
---
 lib/librte_cryptodev/rte_cryptodev.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/librte_cryptodev/rte_cryptodev.c 
b/lib/librte_cryptodev/rte_cryptodev.c
index a64320e..fedb9d0 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",
 
-- 
2.7.4

Reply via email to