[PATCH v1] crypto/ipsec_mb: add digest encrypted feature in AESNI_MB
Brian Dooley
brian.dooley at intel.com
Fri Apr 21 12:13:10 CEST 2023
AESNI_MB PMD does not support Digest Encrypted. This patch adds partial
support for this feature.
Signed-off-by: Brian Dooley <brian.dooley at intel.com>
---
Some out-of-place tests are still failing.
Only some in-place tests are passing.
Working on adding support for this feature in v2.
---
app/test/1.diff | 0
drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 3 ++-
2 files changed, 2 insertions(+), 1 deletion(-)
create mode 100644 app/test/1.diff
diff --git a/app/test/1.diff b/app/test/1.diff
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
index ac20d01937..fbb556af87 100644
--- a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
+++ b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
@@ -2335,7 +2335,8 @@ RTE_INIT(ipsec_mb_register_aesni_mb)
RTE_CRYPTODEV_FF_IN_PLACE_SGL |
RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT |
RTE_CRYPTODEV_FF_OOP_LB_IN_SGL_OUT |
- RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT;
+ RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT |
+ RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED;
aesni_mb_data->internals_priv_size = 0;
aesni_mb_data->ops = &aesni_mb_pmd_ops;
--
2.25.1
More information about the dev
mailing list