cryptodev: add DES CBC cipher algorithm
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Fri, 2 Dec 2016 14:16:00 +0000 (14:16 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 18 Jan 2017 20:45:15 +0000 (21:45 +0100)
This commit adds DES CBC ciper algorithm to available algorithms

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
lib/librte_cryptodev/rte_crypto_sym.h

index d694723..0e20b30 100644 (file)
@@ -105,7 +105,11 @@ enum rte_crypto_cipher_algorithm {
        RTE_CRYPTO_CIPHER_ZUC_EEA3,
        /**< ZUC algorithm in EEA3 mode */
 
+       RTE_CRYPTO_CIPHER_DES_CBC,
+       /**< DES algorithm in CBC mode */
+
        RTE_CRYPTO_CIPHER_LIST_END
+
 };
 
 /** Symmetric Cipher Direction */