summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArek Kusztal <arkadiuszx.kusztal@intel.com>2016-12-02 14:16:00 +0000
committerPablo de Lara <pablo.de.lara.guarch@intel.com>2017-01-18 21:45:15 +0100
commitd59626753cd0cc17a749221b2589ac17546ba787 (patch)
treec8d481a5ea7754e3f703121f89797c753fc15612
parent6b283a03216e120a697a0006341b3ab633e6a82c (diff)
downloaddpdk-d59626753cd0cc17a749221b2589ac17546ba787.zip
dpdk-d59626753cd0cc17a749221b2589ac17546ba787.tar.gz
dpdk-d59626753cd0cc17a749221b2589ac17546ba787.tar.xz
cryptodev: add DES CBC cipher algorithm
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>
-rw-r--r--lib/librte_cryptodev/rte_crypto_sym.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h
index d694723..0e20b30 100644
--- a/lib/librte_cryptodev/rte_crypto_sym.h
+++ b/lib/librte_cryptodev/rte_crypto_sym.h
@@ -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 */