crypto/ipsec_mb: add digest encrypted feature in AESNI_MB
PATCH 1/1 crypto/ipsec_mb: add digest encrypted feature in AESNI_MB
AESNI_MB PMD does not support Digest Encrypted. This patch adds partial support for this feature.
---
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
app/test/1.diff new file +0 -0
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +2 -1
@@ -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;
Signature · 1 line
2.25.1
Quoted 4 lines
Subject: [EXT] [PATCH v1]
crypto/ipsec_mb: add digest encrypted feature inAESNI_MBAESNI_MBPMD does not support Digest Encrypted. This patch adds partial support for this feature.
I do not get it, what is the point of adding partial support. It should be added when it is supported.
Also whenever, you add, add in documentation as well.
Quoted 6 lines
Signed-off-by Brian Dooley <[email protected]>---
Some out-of-place tests are still failing.
Only some in-place tests are passing.
Working on adding support for this feature in v2.
You cannot just send half cooked patches.
app/test/1.diff
Quoted 9 lines
--- 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.diffapp/test/1.diff new file +0
-0
This file is accidently added.
Hi Akhil,
Quoted 9 lines
-----Original Message-----
From: Akhil Goyal <[email protected]>
Sent: Monday 24 April 2023 06:46
To: Dooley, Brian <[email protected]>; Ji, Kai <[email protected]>; De Lara Guarch, Pablo <[email protected]>
Cc: [email protected]
Subject: RE: [EXT] [PATCH v1]crypto/ipsec_mb: add digest encrypted feature inAESNI_MB
Quoted 7 lines
Quoted 3 lines
Subject: [EXT] [PATCH v1]
crypto/ipsec_mb: add digest encrypted feature inAESNI_MBAESNI_MBPMD does not support Digest Encrypted. This patch adds partial support for this feature.I do not get it, what is the point of adding partial support. It should be added when it is supported.
Also whenever, you add, add in documentation as well.
Apologies for this, This patch has a bit more work to do and should have been an RFC. Confident that it can be completed for the release.
Quoted 17 lines
Quoted 8 lines
Signed-off-by Brian Dooley <[email protected]>---
Some out-of-place tests are still failing.
Only some in-place tests are passing.
Working on adding support for this feature in v2.You cannot just send half cooked patches.
Quoted 6 lines
--- app/test/1.diff | 0 drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644app/test/1.diff
Quoted 3 lines
app/test/1.diff new file mode 100644
Quoted 2 lines
app/test/1.diff new file mode 100644 renamed from app/test/1.diff +0
-0This file is accidently added.
Thanks,
Brian
PATCH 1/1 crypto/ipsec_mb: add digest encrypted feature
In reply to Brian DooleyAESNI_MB PMD does not support Digest Encrypted. This patch adds support for this feature.
--- drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 107 +++++++++++++++++++++++-- 1 file changed, 102 insertions(+), 5 deletions(-)
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +102 -5
@@ -1438,6 +1438,54 @@ set_gcm_job(IMB_MGR *mb_mgr, IMB_JOB *job, const uint8_t sgl,return 0 ; } +/** Check if conditions are met for digest-appended operations */ +static uint8_t * +aesni_mb_digest_appended_in_src (struct rte_crypto_op *op,IMB_JOB *job, +uint32_t oop) +{ +unsigned int auth_size, cipher_size; +uint8_t *end_cipher; +uint8_t *start_cipher; + +if (job->cipher_mode ==IMB_CIPHER_NULL ) +return NULL ; + +if (job->cipher_mode ==IMB_CIPHER_ZUC_EEA3 || + job->cipher_mode ==IMB_CIPHER_SNOW3G_UEA2_BITLEN || + job->cipher_mode ==IMB_CIPHER_KASUMI_UEA1_BITLEN ) { + cipher_size = (op->sym->cipher.data.offset >>3 ) + + (op->sym->cipher.data.length >>3 ); + }else { + cipher_size = (op->sym->cipher.data.offset) + + (op->sym->cipher.data.length); + } +if (job->hash_alg ==IMB_AUTH_ZUC_EIA3_BITLEN || + job->hash_alg ==IMB_AUTH_SNOW3G_UIA2_BITLEN || + job->hash_alg ==IMB_AUTH_KASUMI_UIA1 || + job->hash_alg ==IMB_AUTH_ZUC256_EIA3_BITLEN ) { + auth_size = (op->sym->auth.data.offset >>3 ) + + (op->sym->auth.data.length >>3 ); + }else { + auth_size = (op->sym->auth.data.offset) + + (op->sym->auth.data.length); + } + +if (!oop) { + end_cipher = rte_pktmbuf_mtod_offset(op->sym->m_src, uint8_t *, cipher_size); + start_cipher = rte_pktmbuf_mtod(op->sym->m_src, uint8_t *); + }else { + end_cipher = rte_pktmbuf_mtod_offset(op->sym->m_dst, uint8_t *, cipher_size); + start_cipher = rte_pktmbuf_mtod(op->sym->m_dst, uint8_t *); + } + +if (start_cipher < op->sym->auth.digest.data && + op->sym->auth.digest.data < end_cipher) { + return rte_pktmbuf_mtod_offset(op->sym->m_src, uint8_t *, auth_size); + }else { +return NULL ; + } +} +/** * Process a crypto operation and complete a IMB_JOB job structure for * submission to the multi buffer library for processing.
@@ -1580,9 +1628,12 @@ set_mb_job_params(IMB_JOB *job, struct ipsec_mb_qp *qp, }else {if (aead) job->auth_tag_output = op->sym->aead.digest.data; -else - job->auth_tag_output = op->sym->auth.digest.data; - +else { + job->auth_tag_output =aesni_mb_digest_appended_in_src (op, job, oop); +if (job->auth_tag_output ==NULL ) { + job->auth_tag_output = op->sym->auth.digest.data; + } + }if (session->auth.req_digest_len != job->auth_tag_output_len_in_bytes) { job->auth_tag_output =
@@ -1917,6 +1968,7 @@ post_process_mb_job(struct ipsec_mb_qp *qp, IMB_JOB *job)struct aesni_mb_session *sess =NULL ;uint8_t *linear_buf =NULL ;int sgl =0 ; +uint8_t oop =0 ;uint8_t is_docsis_sec =0 ;if (op->sess_type ==RTE_CRYPTO_OP_SECURITY_SESSION ) {
@@ -1962,8 +2014,52 @@ post_process_mb_job(struct ipsec_mb_qp *qp, IMB_JOB *job) op->sym->auth.digest.data, sess->auth.req_digest_len, &op->status); - }else + }else { +if (!op->sym->m_dst || op->sym->m_dst == op->sym->m_src) { +/* in-place operation */ + oop =0 ; + }else {/* out-of-place operation */ + oop =1 ; + } + +if (op->sym->m_src->nb_segs ==1 && op->sym->m_dst !=NULL + && !is_aead_algo (job->hash_alg, sess->template_job.cipher_mode) && +aesni_mb_digest_appended_in_src (op, job, oop) !=NULL ) { +unsigned int auth_size, cipher_size; +int unencrypted_bytes =0 ; +if (job->cipher_mode ==IMB_CIPHER_SNOW3G_UEA2_BITLEN || + job->cipher_mode ==IMB_CIPHER_KASUMI_UEA1_BITLEN || + job->cipher_mode ==IMB_CIPHER_ZUC_EEA3 ) { + cipher_size = (op->sym->cipher.data.offset >>3 ) + + (op->sym->cipher.data.length >>3 ); + }else { + cipher_size = (op->sym->cipher.data.offset) + + (op->sym->cipher.data.length); + } +if (job->hash_alg ==IMB_AUTH_ZUC_EIA3_BITLEN || + job->hash_alg ==IMB_AUTH_SNOW3G_UIA2_BITLEN || + job->hash_alg ==IMB_AUTH_KASUMI_UIA1 || + job->hash_alg ==IMB_AUTH_ZUC256_EIA3_BITLEN ) { + auth_size = (op->sym->auth.data.offset >>3 ) + + (op->sym->auth.data.length >>3 ); + }else { + auth_size = (op->sym->auth.data.offset) + + (op->sym->auth.data.length); + } +if (job->cipher_mode !=IMB_CIPHER_NULL ) { + unencrypted_bytes = auth_size + + job->auth_tag_output_len_in_bytes - cipher_size; +if (unencrypted_bytes >0 ) +rte_memcpy ( +rte_pktmbuf_mtod_offset ( + op->sym->m_dst, uint8_t *, cipher_size), +rte_pktmbuf_mtod_offset ( + op->sym->m_src, uint8_t *, cipher_size), + unencrypted_bytes); + } + }generate_digest (job, op, sess); + }break ;default : op->status =RTE_CRYPTO_OP_STATUS_ERROR ;
@@ -2555,7 +2651,8 @@ RTE_INIT(ipsec_mb_register_aesni_mb)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_SECURITY ; +RTE_CRYPTODEV_FF_SECURITY | +RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED ; aesni_mb_data->internals_priv_size =0 ; aesni_mb_data->ops = &aesni_mb_pmd_ops;
Signature · 1 line
2.25.1
PATCH v2 1/1 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v2:
Fixed CHECKPATCH warning
--- drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 107 +++++++++++++++++++++++-- 1 file changed, 102 insertions(+), 5 deletions(-)
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +102 -5
@@ -1438,6 +1438,54 @@ set_gcm_job(IMB_MGR *mb_mgr, IMB_JOB *job, const uint8_t sgl,return 0 ; } +/** Check if conditions are met for digest-appended operations */ +static uint8_t * +aesni_mb_digest_appended_in_src (struct rte_crypto_op *op,IMB_JOB *job, +uint32_t oop) +{ +unsigned int auth_size, cipher_size; +uint8_t *end_cipher; +uint8_t *start_cipher; + +if (job->cipher_mode ==IMB_CIPHER_NULL ) +return NULL ; + +if (job->cipher_mode ==IMB_CIPHER_ZUC_EEA3 || + job->cipher_mode ==IMB_CIPHER_SNOW3G_UEA2_BITLEN || + job->cipher_mode ==IMB_CIPHER_KASUMI_UEA1_BITLEN ) { + cipher_size = (op->sym->cipher.data.offset >>3 ) + + (op->sym->cipher.data.length >>3 ); + }else { + cipher_size = (op->sym->cipher.data.offset) + + (op->sym->cipher.data.length); + } +if (job->hash_alg ==IMB_AUTH_ZUC_EIA3_BITLEN || + job->hash_alg ==IMB_AUTH_SNOW3G_UIA2_BITLEN || + job->hash_alg ==IMB_AUTH_KASUMI_UIA1 || + job->hash_alg ==IMB_AUTH_ZUC256_EIA3_BITLEN ) { + auth_size = (op->sym->auth.data.offset >>3 ) + + (op->sym->auth.data.length >>3 ); + }else { + auth_size = (op->sym->auth.data.offset) + + (op->sym->auth.data.length); + } + +if (!oop) { + end_cipher = rte_pktmbuf_mtod_offset(op->sym->m_src, uint8_t *, cipher_size); + start_cipher = rte_pktmbuf_mtod(op->sym->m_src, uint8_t *); + }else { + end_cipher = rte_pktmbuf_mtod_offset(op->sym->m_dst, uint8_t *, cipher_size); + start_cipher = rte_pktmbuf_mtod(op->sym->m_dst, uint8_t *); + } + +if (start_cipher < op->sym->auth.digest.data && + op->sym->auth.digest.data < end_cipher) { + return rte_pktmbuf_mtod_offset(op->sym->m_src, uint8_t *, auth_size); + }else { +return NULL ; + } +} +/** * Process a crypto operation and complete a IMB_JOB job structure for * submission to the multi buffer library for processing.
@@ -1580,9 +1628,12 @@ set_mb_job_params(IMB_JOB *job, struct ipsec_mb_qp *qp, }else {if (aead) job->auth_tag_output = op->sym->aead.digest.data; -else - job->auth_tag_output = op->sym->auth.digest.data; - +else { + job->auth_tag_output =aesni_mb_digest_appended_in_src (op, job, oop); +if (job->auth_tag_output ==NULL ) { + job->auth_tag_output = op->sym->auth.digest.data; + } + }if (session->auth.req_digest_len != job->auth_tag_output_len_in_bytes) { job->auth_tag_output =
@@ -1917,6 +1968,7 @@ post_process_mb_job(struct ipsec_mb_qp *qp, IMB_JOB *job)struct aesni_mb_session *sess =NULL ;uint8_t *linear_buf =NULL ;int sgl =0 ; +uint8_t oop =0 ;uint8_t is_docsis_sec =0 ;if (op->sess_type ==RTE_CRYPTO_OP_SECURITY_SESSION ) {
@@ -1962,8 +2014,52 @@ post_process_mb_job(struct ipsec_mb_qp *qp, IMB_JOB *job) op->sym->auth.digest.data, sess->auth.req_digest_len, &op->status); - }else + }else { +if (!op->sym->m_dst || op->sym->m_dst == op->sym->m_src) { +/* in-place operation */ + oop =0 ; + }else {/* out-of-place operation */ + oop =1 ; + } + +if (op->sym->m_src->nb_segs ==1 && op->sym->m_dst !=NULL + && !is_aead_algo (job->hash_alg, sess->template_job.cipher_mode) && +aesni_mb_digest_appended_in_src (op, job, oop) !=NULL ) { +unsigned int auth_size, cipher_size; +int unencrypted_bytes =0 ; +if (job->cipher_mode ==IMB_CIPHER_SNOW3G_UEA2_BITLEN || + job->cipher_mode ==IMB_CIPHER_KASUMI_UEA1_BITLEN || + job->cipher_mode ==IMB_CIPHER_ZUC_EEA3 ) { + cipher_size = (op->sym->cipher.data.offset >>3 ) + + (op->sym->cipher.data.length >>3 ); + }else { + cipher_size = (op->sym->cipher.data.offset) + + (op->sym->cipher.data.length); + } +if (job->hash_alg ==IMB_AUTH_ZUC_EIA3_BITLEN || + job->hash_alg ==IMB_AUTH_SNOW3G_UIA2_BITLEN || + job->hash_alg ==IMB_AUTH_KASUMI_UIA1 || + job->hash_alg ==IMB_AUTH_ZUC256_EIA3_BITLEN ) { + auth_size = (op->sym->auth.data.offset >>3 ) + + (op->sym->auth.data.length >>3 ); + }else { + auth_size = (op->sym->auth.data.offset) + + (op->sym->auth.data.length); + } +if (job->cipher_mode !=IMB_CIPHER_NULL ) { + unencrypted_bytes = auth_size + + job->auth_tag_output_len_in_bytes - cipher_size; + } +if (unencrypted_bytes >0 ) +rte_memcpy ( +rte_pktmbuf_mtod_offset ( + op->sym->m_dst, uint8_t *, cipher_size), +rte_pktmbuf_mtod_offset ( + op->sym->m_src, uint8_t *, cipher_size), + unencrypted_bytes); + }generate_digest (job, op, sess); + }break ;default : op->status =RTE_CRYPTO_OP_STATUS_ERROR ;
@@ -2555,7 +2651,8 @@ RTE_INIT(ipsec_mb_register_aesni_mb)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_SECURITY ; +RTE_CRYPTODEV_FF_SECURITY | +RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED ; aesni_mb_data->internals_priv_size =0 ; aesni_mb_data->ops = &aesni_mb_pmd_ops;
Signature · 1 line
2.25.1
PATCH v3 1/1 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
--- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 107 +++++++++++++++++++- 2 files changed, 103 insertions(+), 5 deletions(-)
doc/guides/cryptodevs/features/aesni_mb.ini +1 -0
@@ -20,6 +20,7 @@ OOP LB In LB Out = Y CPU crypto = Y Symmetric sessionless = Y Non-Byte aligned data = Y +Digest encrypted = Y ; ; Supported crypto algorithms of the 'aesni_mb' crypto driver.
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +102 -5
138 lines not on this page · raw message
Signature · 1 line
2.25.1
v4 cover Add Digest Encrypted to aesni_mb PMD
This series adds the Digest Encrypted feature to the AESNI_MB PMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
Brian Dooley (2):
crypto/ipsec_mb: add digest encrypted feature
test/crypto: fix IV in some vectors
app/test/test_cryptodev_mixed_test_vectors.h | 8 +- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 107 ++++++++++++++++++- 3 files changed, 109 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1
PATCH v4 1/2 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
--- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 2 files changed, 105 insertions(+), 5 deletions(-)
doc/guides/cryptodevs/features/aesni_mb.ini +1 -0
@@ -20,6 +20,7 @@ OOP LB In LB Out = Y CPU crypto = Y Symmetric sessionless = Y Non-Byte aligned data = Y +Digest encrypted = Y ; ; Supported crypto algorithms of the 'aesni_mb' crypto driver.
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +104 -5
140 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v4 2/2 test/crypto: fix IV in some vectors
In reply to Brian DooleySNOW3G and ZUC algorithms require non-zero length IVs.
--- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
app/test/test_cryptodev_mixed_test_vectors.h +6 -2
@@ -478,8 +478,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
@@ -917,8 +919,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
Signature · 1 line
2.25.1
v5 cover Add Digest Encrypted to aesni_mb PMD
In reply to Brian DooleyThis series adds the Digest Encrypted feature to the AESNI_MB PMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
v5:
Fix checkpatch warnings
Brian Dooley (2):
crypto/ipsec_mb: add digest encrypted feature
test/crypto: fix IV in some vectors
app/test/test_cryptodev_mixed_test_vectors.h | 8 +- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 107 ++++++++++++++++++- 3 files changed, 109 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1
PATCH v5 1/2 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
--- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 2 files changed, 105 insertions(+), 5 deletions(-)
doc/guides/cryptodevs/features/aesni_mb.ini +1 -0
@@ -20,6 +20,7 @@ OOP LB In LB Out = Y CPU crypto = Y Symmetric sessionless = Y Non-Byte aligned data = Y +Digest encrypted = Y ; ; Supported crypto algorithms of the 'aesni_mb' crypto driver.
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +104 -5
140 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v5 2/2 test/crypto: fix IV in some vectors
In reply to Brian DooleySNOW3G and ZUC algorithms require non-zero length IVs.
--- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
app/test/test_cryptodev_mixed_test_vectors.h +6 -2
@@ -478,8 +478,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
@@ -917,8 +919,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
Signature · 1 line
2.25.1
v5 cover Add Digest Encrypted to aesni_mb PMD
In reply to Brian DooleyThis series adds the Digest Encrypted feature to the AESNI_MB PMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto
Brian Dooley (2):
crypto/ipsec_mb: add digest encrypted feature
test/crypto: fix IV in some vectors
app/test/test_cryptodev_mixed_test_vectors.h | 8 +- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 107 ++++++++++++++++++- 3 files changed, 109 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1
PATCH v6 1/2 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto
--- app/test/test_cryptodev.c | 6 ++ doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 3 files changed, 111 insertions(+), 5 deletions(-)
app/test/test_cryptodev.c +6 -0
@@ -6394,6 +6394,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata, tdata->digest.len) < 0)return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
@@ -7829,6 +7832,9 @@ test_mixed_auth_cipher(const struct mixed_cipher_auth_test_data *tdata,if (global_api_test_type ==CRYPTODEV_RAW_API_TEST )return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
doc/guides/cryptodevs/features/aesni_mb.ini +1 -0
@@ -20,6 +20,7 @@ OOP LB In LB Out = Y CPU crypto = Y Symmetric sessionless = Y Non-Byte aligned data = Y +Digest encrypted = Y ; ; Supported crypto algorithms of the 'aesni_mb' crypto driver.
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +104 -5
140 lines not on this page · raw message
Signature · 1 line
2.25.1
RE: [PATCH v6 1/2] crypto/ipsec_mb: add digest encrypted feature
Hi Brian,
Quoted 49 lines
-----Original Message-----
From: Brian Dooley <[email protected]>
Sent: Thursday, September 7, 2023 11:26 AM
To: Akhil Goyal <[email protected]>; Fan Zhang <[email protected]>; Ji, Kai <[email protected]>; De Lara Guarch, Pablo <[email protected]>
Cc: [email protected]; Dooley, Brian <[email protected]>
Subject: [PATCH v6 1/2]crypto/ipsec_mb: add digest encrypted feature
AESNI_MBPMD does not support Digest Encrypted. This patch adds a check and support for this feature.Signed-off-by Brian Dooley <[email protected]>---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto--- app/test/test_cryptodev.c | 6 ++ doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 3 files changed, 111 insertions(+), 5 deletions(-)app/test/test_cryptodev.c index renamed from app/test/test_cryptodev.c +0
-0
956268bfcd..70f6b7ece1100644app/test/test_cryptodev.c +3
-0@@ -6394,6 +6394,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata, tdata->digest.len) < 0)return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);
uint64_tfeat_flags= dev_info.feature_flags; @@ -7829,6 +7832,9
@@ test_mixed_auth_cipher(const structmixed_cipher_auth_test_data*tdata,
app/test/test_cryptodev.c test_mixed_auth_cipher(const struct mixed_cipher_auth_test_data *tdata, · line 7838
Quoted 7 lines
app/test/test_cryptodev.c +3
-0if (global_api_test_type ==CRYPTODEV_RAW_API_TEST )return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);
<snip>
Small thing, I think the above fixes should be in their own fix patch.
Code changes look good to me. Can keep my ack on v7 with the fixes split out.
v7 cover Add Digest Encrypted to aesni_mb PMD
In reply to Brian DooleyThis series adds the Digest Encrypted feature to the AESNI_MB PMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto
v7:
Separate synchronous fix into separate commit
Brian Dooley (3):
crypto/ipsec_mb: add digest encrypted feature
test/crypto: fix IV in some vectors
test/crypto: fix failing synchronous tests
app/test/test_cryptodev.c | 6 + app/test/test_cryptodev_mixed_test_vectors.h | 8 +- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 ++++++++++++++++++- 4 files changed, 117 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1
PATCH v7 1/3 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto
v7:
Separate synchronous fix into separate commit
--- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 2 files changed, 105 insertions(+), 5 deletions(-)
doc/guides/cryptodevs/features/aesni_mb.ini +1 -0
@@ -20,6 +20,7 @@ OOP LB In LB Out = Y CPU crypto = Y Symmetric sessionless = Y Non-Byte aligned data = Y +Digest encrypted = Y ; ; Supported crypto algorithms of the 'aesni_mb' crypto driver.
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +104 -5
140 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v7 2/3 test/crypto: fix IV in some vectors
In reply to Brian DooleySNOW3G and ZUC algorithms require non-zero length IVs.
--- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
app/test/test_cryptodev_mixed_test_vectors.h +6 -2
@@ -478,8 +478,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
@@ -917,8 +919,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
Signature · 1 line
2.25.1
PATCH v7 3/3 test/crypto: fix failing synchronous tests
In reply to Brian DooleySome synchronous tests do not support digest encrypted and need to be skipped. This commit adds in extra skips for these tests.
--- app/test/test_cryptodev.c | 6 ++++++ 1 file changed, 6 insertions(+)
app/test/test_cryptodev.c +6 -0
@@ -6394,6 +6394,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata, tdata->digest.len) < 0)return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
@@ -7829,6 +7832,9 @@ test_mixed_auth_cipher(const struct mixed_cipher_auth_test_data *tdata,if (global_api_test_type ==CRYPTODEV_RAW_API_TEST )return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
Signature · 1 line
2.25.1
v8 cover Add Digest Encrypted to aesni_mb PMD
In reply to Brian DooleyThis series adds the Digest Encrypted feature to the AESNI_MB PMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
add comments and refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto
v7:
Separate synchronous fix into separate commit
v8:
Reword commit and add stable
Brian Dooley (3):
crypto/ipsec_mb: add digest encrypted feature
test/crypto: fix IV in some vectors
test/crypto: fix failing synchronous tests
app/test/test_cryptodev.c | 6 + app/test/test_cryptodev_mixed_test_vectors.h | 8 +- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 ++++++++++++++++++- 4 files changed, 117 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1
PATCH v8 1/3 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto
v7:
Separate synchronous fix into separate commit
--- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 2 files changed, 105 insertions(+), 5 deletions(-)
doc/guides/cryptodevs/features/aesni_mb.ini +1 -0
@@ -20,6 +20,7 @@ OOP LB In LB Out = Y CPU crypto = Y Symmetric sessionless = Y Non-Byte aligned data = Y +Digest encrypted = Y ; ; Supported crypto algorithms of the 'aesni_mb' crypto driver.
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +104 -5
140 lines not on this page · raw message
Signature · 1 line
2.25.1
RE: [EXT] [PATCH v8 1/3] crypto/ipsec_mb: add digest encrypted feature
Quoted 19 lines
----------------------------------------------------------------------
AESNI_MBPMD does not support Digest Encrypted. This patch adds a check and support for this feature.Acked-by Ciara Power <[email protected]>Signed-off-by Brian Dooley <[email protected]>---
v2:
Fixed CHECKPATCH warning
v3:
Add Digest encrypted support to docs
v4:
Add comments and small refactor
v5:
Fix checkpatch warnings
v6:
Add skipping tests for synchronous crypto
v7:
Separate synchronous fix into separate commit
Quoted 4 lines
--- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 2 files changed, 105 insertions(+), 5 deletions(-)
Release notes??
PATCH v8 2/3 test/crypto: fix IV in some vectors
In reply to Brian DooleySNOW3G and ZUC algorithms require non-zero length IVs.
--
v8:
Add cc stable
--- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
app/test/test_cryptodev_mixed_test_vectors.h +6 -2
@@ -478,8 +478,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
@@ -917,8 +919,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
Signature · 1 line
2.25.1
PATCH v8 3/3 test/crypto: fix failing synchronous tests
In reply to Brian DooleySome synchronous tests are not supported for cpu crypto and need to be skipped. This commit adds in extra skips for these tests.
---
v8:
Reword commit and add cc stable
--- app/test/test_cryptodev.c | 6 ++++++ 1 file changed, 6 insertions(+)
app/test/test_cryptodev.c +6 -0
@@ -6394,6 +6394,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata, tdata->digest.len) < 0)return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
@@ -7829,6 +7832,9 @@ test_mixed_auth_cipher(const struct mixed_cipher_auth_test_data *tdata,if (global_api_test_type ==CRYPTODEV_RAW_API_TEST )return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
Signature · 1 line
2.25.1
PATCH v6 2/2 test/crypto: fix IV in some vectors
In reply to Brian DooleySNOW3G and ZUC algorithms require non-zero length IVs.
--- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
app/test/test_cryptodev_mixed_test_vectors.h +6 -2
@@ -478,8 +478,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
@@ -917,8 +919,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
Signature · 1 line
2.25.1
RE: [PATCH v6 2/2] test/crypto: fix IV in some vectors
Quoted 12 lines
-----Original Message-----
From: Brian Dooley <[email protected]>
Sent: Thursday, September 7, 2023 11:26 AM
To: Akhil Goyal <[email protected]>; Fan Zhang <[email protected]>
Cc: [email protected]; Dooley, Brian <[email protected]>; [email protected]
Subject: [PATCH v6 2/2] test/crypto: fix IV in some vectorsSNOW3G and ZUC algorithms require non-zero length IVs.
Quoted 7 lines
Fixes c6c267a00a92 ("test/crypto: add mixed encypted-digest")Signed-off-by Brian Dooley <[email protected]>--- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
v9 cover Add Digest Encrypted to aesni_mb PMD
In reply to Brian DooleyThis series adds the Digest Encrypted feature to the AESNI_MB PMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.
v9:
Added release notes
v8:
reword commit and add stable
v7:
Separate synchronous fix into separate commit
v6:
Add skipping tests for synchronous crypto
v5:
Fix checkpatch warnings
v4:
Add comments and small refactor
v3:
Add Digest encrypted support to docs
v2:
Fixed CHECKPATCH warning
Brian Dooley (3):
crypto/ipsec_mb: add digest encrypted feature
test/crypto: fix IV in some vectors
test/crypto: fix failing synchronous tests
app/test/test_cryptodev.c | 6 + app/test/test_cryptodev_mixed_test_vectors.h | 8 +- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + doc/guides/rel_notes/release_23_11.rst | 4 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 ++++++++++++++++++- 5 files changed, 121 insertions(+), 7 deletions(-)
Signature · 1 line
2.25.1
PATCH v9 1/3 crypto/ipsec_mb: add digest encrypted feature
AESNI_MB PMD does not support Digest Encrypted. This patch adds a check and support for this feature.
---
v9:
Added release notes
v7:
Separate synchronous fix into separate commit
v6:
Add skipping tests for synchronous crypto
v5:
Fix checkpatch warnings
v4:
Add comments and small refactor
v3:
Add Digest encrypted support to docs
v2:
Fixed CHECKPATCH warning
--- doc/guides/cryptodevs/features/aesni_mb.ini | 1 + doc/guides/rel_notes/release_23_11.rst | 4 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 109 +++++++++++++++++++- 3 files changed, 109 insertions(+), 5 deletions(-)
doc/guides/cryptodevs/features/aesni_mb.ini +1 -0
@@ -20,6 +20,7 @@ OOP LB In LB Out = Y CPU crypto = Y Symmetric sessionless = Y Non-Byte aligned data = Y +Digest encrypted = Y ; ; Supported crypto algorithms of the 'aesni_mb' crypto driver.
doc/guides/rel_notes/release_23_11.rst +4 -0
@@ -78,6 +78,10 @@ New Features * build: Optional libraries can now be selected with the new ``enable_libs`` build option similarly to the existing ``enable_drivers`` build option. +* **Updated ipsec_mb crypto driver.** + + * Added support for Digest Encrypted to AESNI_MB PMD asynchronous crypto. + Removed Items -------------
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +104 -5
140 lines not on this page · raw message
Signature · 1 line
2.25.1
PATCH v9 2/3 test/crypto: fix IV in some vectors
In reply to Brian DooleySNOW3G and ZUC algorithms require non-zero length IVs.
--- app/test/test_cryptodev_mixed_test_vectors.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
app/test/test_cryptodev_mixed_test_vectors.h +6 -2
@@ -478,8 +478,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_snow_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
@@ -917,8 +919,10 @@ struct mixed_cipher_auth_test_data auth_aes_cmac_cipher_zuc_test_case_1 = { }, .cipher_iv = { .data = { +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 , +0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 }, - .len = 0, + .len = 16, }, .cipher = { .len_bits = 516 << 3,
Signature · 1 line
2.25.1
PATCH v9 3/3 test/crypto: fix failing synchronous tests
In reply to Brian DooleySome synchronous tests are not supported for cpu crypto and need to be skipped. This commit adds in extra skips for these tests.
---
v8:
reword commit and add stable
--- app/test/test_cryptodev.c | 6 ++++++ 1 file changed, 6 insertions(+)
app/test/test_cryptodev.c +6 -0
@@ -6394,6 +6394,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata, tdata->digest.len) < 0)return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
@@ -7829,6 +7832,9 @@ test_mixed_auth_cipher(const struct mixed_cipher_auth_test_data *tdata,if (global_api_test_type ==CRYPTODEV_RAW_API_TEST )return TEST_SKIPPED ; +if (gbl_action_type ==RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO ) +return TEST_SKIPPED ; +rte_cryptodev_info_get (ts_params->valid_devs[0 ], &dev_info);uint64_t feat_flags = dev_info.feature_flags;
Signature · 1 line
2.25.1
RE: [EXT] [PATCH v9 0/3] Add Digest Encrypted to aesni_mb PMD
In reply to Brian DooleyQuoted 6 lines
This series adds the Digest Encrypted feature to the
AESNI_MBPMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.v9:
Added release notes
Series applied to dpdk-next-crypto
Thanks.
Akhil Goyal
AppliedRE: [EXT] [PATCH v9 0/3] Add Digest Encrypted to aesni_mb PMD
In reply to Brian DooleyQuoted 6 lines
This series adds the Digest Encrypted feature to the
AESNI_MBPMD. It also fixes an issue where IV data in SNOW3G and ZUC algorithms were incorrect and are required to be non-zero length.v9:
Added release notes
Applied to dpdk-next-crypto
Thanks.