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/octeontx2: support ChaCha20-Poly1305
[dpdk.git]
/
drivers
/
crypto
/
octeontx2
/
otx2_cryptodev_ops.c
diff --git
a/drivers/crypto/octeontx2/otx2_cryptodev_ops.c
b/drivers/crypto/octeontx2/otx2_cryptodev_ops.c
index
62a3e7c
..
a370368
100644
(file)
--- a/
drivers/crypto/octeontx2/otx2_cryptodev_ops.c
+++ b/
drivers/crypto/octeontx2/otx2_cryptodev_ops.c
@@
-398,9
+398,10
@@
sym_session_configure(int driver_id, struct rte_crypto_sym_xform *xform,
/*
* IE engines support IPsec operations
/*
* IE engines support IPsec operations
- * SE engines support IPsec operations and Air-Crypto operations
+ * SE engines support IPsec operations, Chacha-Poly and
+ * Air-Crypto operations
*/
*/
- if (misc->zsk_flag)
+ if (misc->zsk_flag
|| misc->chacha_poly
)
misc->egrp = OTX2_CPT_EGRP_SE;
else
misc->egrp = OTX2_CPT_EGRP_SE_IE;
misc->egrp = OTX2_CPT_EGRP_SE;
else
misc->egrp = OTX2_CPT_EGRP_SE_IE;