cryptodev: add missing algorithm strings
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 27 Feb 2017 14:38:43 +0000 (14:38 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
DES-CBC and AUTH NULL algorithms were missing in
the array of algorithm strings.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
lib/librte_cryptodev/rte_cryptodev.c

index a64320e..fedb9d0 100644 (file)
@@ -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",