git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto/nitrox: support 3DES-CBC
[dpdk.git]
/
drivers
/
crypto
/
nitrox
/
nitrox_sym.c
diff --git
a/drivers/crypto/nitrox/nitrox_sym.c
b/drivers/crypto/nitrox/nitrox_sym.c
index
d1b32fe
..
fad4a7a
100644
(file)
--- a/
drivers/crypto/nitrox/nitrox_sym.c
+++ b/
drivers/crypto/nitrox/nitrox_sym.c
@@
-314,6
+314,10
@@
get_flexi_cipher_type(enum rte_crypto_cipher_algorithm algo, bool *is_aes)
type = CIPHER_AES_CBC;
*is_aes = true;
break;
+ case RTE_CRYPTO_CIPHER_3DES_CBC:
+ type = CIPHER_3DES_CBC;
+ *is_aes = false;
+ break;
default:
type = CIPHER_INVALID;
NITROX_LOG(ERR, "Algorithm not supported %d\n", algo);