* [PATCH 1/9] common/dpaax: fix invalid key command error @ 2025-05-20 5:51 Gagandeep Singh 2025-05-20 5:51 ` [PATCH 2/9] common/dpaax: fix for PDCP AES only 12bit SN case Gagandeep Singh ` (3 more replies) 0 siblings, 4 replies; 8+ messages in thread From: Gagandeep Singh @ 2025-05-20 5:51 UTC (permalink / raw) To: dev, Hemant Agrawal, Sachin Saxena, Franck Lenormand; +Cc: stable Due to race between KEY loading to CAAM’s internal memory and initiating crypto operations can SEC errors in PDCP AES algo combinations. To mitigate this, adding CALM instruction in SN 12bit case and using older version of descriptor for SN 18bit case. Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") Cc: franck.lenormand@nxp.com Cc: stable@dpdk.org Signed-off-by: Gagandeep Singh <g.singh@nxp.com> --- drivers/common/dpaax/caamflib/desc/pdcp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax/caamflib/desc/pdcp.h index 9ada3905c5..f4379ede2c 100644 --- a/drivers/common/dpaax/caamflib/desc/pdcp.h +++ b/drivers/common/dpaax/caamflib/desc/pdcp.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0+ * Copyright 2008-2013 Freescale Semiconductor, Inc. - * Copyright 2019-2023 NXP + * Copyright 2019-2025 NXP */ #ifndef __DESC_PDCP_H__ @@ -1981,8 +1981,7 @@ pdcp_insert_uplane_no_int_op(struct program *p, KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, cipherdata->keylen, INLINE_KEY(cipherdata)); - if ((sn_size == PDCP_SN_SIZE_15) || - (rta_sec_era >= RTA_SEC_ERA_10)) { + if (sn_size == PDCP_SN_SIZE_15) { PROTOCOL(p, dir, OP_PCLID_LTE_PDCP_USER, (uint16_t)cipherdata->algtype); return 0; @@ -2747,6 +2746,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, (uint64_t)cipherdata->key, cipherdata->keylen, INLINE_KEY(cipherdata)); + JUMP(p, 1, LOCAL_JUMP, ALL_TRUE, CALM); if (authdata) PROTOCOL(p, OP_TYPE_ENCAP_PROTOCOL, OP_PCLID_LTE_PDCP_USER_RN, -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 2/9] common/dpaax: fix for PDCP AES only 12bit SN case 2025-05-20 5:51 [PATCH 1/9] common/dpaax: fix invalid key command error Gagandeep Singh @ 2025-05-20 5:51 ` Gagandeep Singh 2025-05-20 5:51 ` [PATCH 5/9] crypto/dpaa2_sec: fix coverity Issues Gagandeep Singh ` (2 subsequent siblings) 3 siblings, 0 replies; 8+ messages in thread From: Gagandeep Singh @ 2025-05-20 5:51 UTC (permalink / raw) To: dev, Hemant Agrawal, Sachin Saxena, Franck Lenormand; +Cc: stable This workaround fixes the invalid key command SEC error. Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") Cc: franck.lenormand@nxp.com Cc: stable@dpdk.org Signed-off-by: Gagandeep Singh <g.singh@nxp.com> --- drivers/common/dpaax/caamflib/desc/pdcp.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax/caamflib/desc/pdcp.h index f4379ede2c..c90eff26a8 100644 --- a/drivers/common/dpaax/caamflib/desc/pdcp.h +++ b/drivers/common/dpaax/caamflib/desc/pdcp.h @@ -619,7 +619,7 @@ pdcp_insert_cplane_enc_only_op(struct program *p, KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, cipherdata->keylen, INLINE_KEY(cipherdata)); - if ((sn_size != PDCP_SN_SIZE_18 && + if ((authdata && sn_size != PDCP_SN_SIZE_18 && !(rta_sec_era == RTA_SEC_ERA_8 && authdata->algtype == 0)) || (rta_sec_era == RTA_SEC_ERA_10)) { @@ -631,6 +631,7 @@ pdcp_insert_cplane_enc_only_op(struct program *p, (uint16_t)cipherdata->algtype << 8); return 0; } + /* Non-proto is supported only for 5bit cplane and 18bit uplane */ switch (sn_size) { case PDCP_SN_SIZE_5: @@ -2719,7 +2720,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, case PDCP_CIPHER_TYPE_AES: case PDCP_CIPHER_TYPE_SNOW: case PDCP_CIPHER_TYPE_NULL: - if (rta_sec_era == RTA_SEC_ERA_8 && + if (rta_sec_era >= RTA_SEC_ERA_8 && authdata && authdata->algtype == 0){ err = pdcp_insert_uplane_with_int_op(p, swap, cipherdata, authdata, @@ -2729,6 +2730,17 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, return err; break; } + if (rta_sec_era >= RTA_SEC_ERA_8 && + cipherdata->algtype == PDCP_CIPHER_TYPE_AES + && !authdata + && sn_size == PDCP_SN_SIZE_12) { + err = pdcp_insert_cplane_enc_only_op(p, swap, cipherdata, + authdata, + OP_TYPE_ENCAP_PROTOCOL, sn_size); + if (err) + return err; + break; + } if (pdb_type != PDCP_PDB_TYPE_FULL_PDB) { pr_err("PDB type must be FULL for PROTO desc\n"); -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 5/9] crypto/dpaa2_sec: fix coverity Issues 2025-05-20 5:51 [PATCH 1/9] common/dpaax: fix invalid key command error Gagandeep Singh 2025-05-20 5:51 ` [PATCH 2/9] common/dpaax: fix for PDCP AES only 12bit SN case Gagandeep Singh @ 2025-05-20 5:51 ` Gagandeep Singh 2025-05-20 6:16 ` [PATCH 1/9] common/dpaax: fix invalid key command error Hemant Agrawal [not found] ` <20250521065658.857707-1-g.singh@nxp.com> 3 siblings, 0 replies; 8+ messages in thread From: Gagandeep Singh @ 2025-05-20 5:51 UTC (permalink / raw) To: dev, Hemant Agrawal; +Cc: Vanshika Shukla, g.singh, stable From: Vanshika Shukla <vanshika.shukla@nxp.com> Fixes the uninitialized variable issue - reported by NXP internal coverity. Fixes: 1182b364312c ("crypto/dpaax_sec: set authdata in non-auth case") Cc: g.singh@nxp.com Cc: stable@dpdk.org Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com> --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 925d2709d2..5995eb58d8 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -3576,6 +3576,7 @@ dpaa2_sec_set_pdcp_session(struct rte_cryptodev *dev, session->auth_key.data = NULL; session->auth_key.length = 0; session->auth_alg = 0; + authdata.algtype = PDCP_AUTH_TYPE_NULL; } authdata.key = (size_t)session->auth_key.data; authdata.keylen = session->auth_key.length; -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/9] common/dpaax: fix invalid key command error 2025-05-20 5:51 [PATCH 1/9] common/dpaax: fix invalid key command error Gagandeep Singh 2025-05-20 5:51 ` [PATCH 2/9] common/dpaax: fix for PDCP AES only 12bit SN case Gagandeep Singh 2025-05-20 5:51 ` [PATCH 5/9] crypto/dpaa2_sec: fix coverity Issues Gagandeep Singh @ 2025-05-20 6:16 ` Hemant Agrawal 2025-05-21 4:43 ` Gagandeep Singh [not found] ` <20250521065658.857707-1-g.singh@nxp.com> 3 siblings, 1 reply; 8+ messages in thread From: Hemant Agrawal @ 2025-05-20 6:16 UTC (permalink / raw) To: Gagandeep Singh, dev, Hemant Agrawal, Sachin Saxena, Franck Lenormand, Akhil Goyal Cc: stable On 20-05-2025 11:21, Gagandeep Singh wrote: > Due to race between KEY loading to CAAM’s internal memory > and initiating crypto operations can SEC errors in PDCP > AES algo combinations. Please fix grammar. > To mitigate this, adding CALM instruction in SN 12bit case > and using older version of descriptor for SN 18bit case. > > Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") > Cc: franck.lenormand@nxp.com > Cc: stable@dpdk.org > > Signed-off-by: Gagandeep Singh <g.singh@nxp.com> > --- Please send cover-letter for multi patch series. > drivers/common/dpaax/caamflib/desc/pdcp.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax/caamflib/desc/pdcp.h > index 9ada3905c5..f4379ede2c 100644 > --- a/drivers/common/dpaax/caamflib/desc/pdcp.h > +++ b/drivers/common/dpaax/caamflib/desc/pdcp.h > @@ -1,6 +1,6 @@ > /* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0+ > * Copyright 2008-2013 Freescale Semiconductor, Inc. > - * Copyright 2019-2023 NXP > + * Copyright 2019-2025 NXP > */ > > #ifndef __DESC_PDCP_H__ > @@ -1981,8 +1981,7 @@ pdcp_insert_uplane_no_int_op(struct program *p, > KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, > cipherdata->keylen, INLINE_KEY(cipherdata)); > > - if ((sn_size == PDCP_SN_SIZE_15) || > - (rta_sec_era >= RTA_SEC_ERA_10)) { > + if (sn_size == PDCP_SN_SIZE_15) { In description, you mentioned 18 bit SN case, however here you are modifying 15 bit code? am I missing the changes for 18 bit ? > PROTOCOL(p, dir, OP_PCLID_LTE_PDCP_USER, > (uint16_t)cipherdata->algtype); > return 0; > @@ -2747,6 +2746,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, > (uint64_t)cipherdata->key, cipherdata->keylen, > INLINE_KEY(cipherdata)); > > + JUMP(p, 1, LOCAL_JUMP, ALL_TRUE, CALM); > if (authdata) > PROTOCOL(p, OP_TYPE_ENCAP_PROTOCOL, > OP_PCLID_LTE_PDCP_USER_RN, ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [PATCH 1/9] common/dpaax: fix invalid key command error 2025-05-20 6:16 ` [PATCH 1/9] common/dpaax: fix invalid key command error Hemant Agrawal @ 2025-05-21 4:43 ` Gagandeep Singh 0 siblings, 0 replies; 8+ messages in thread From: Gagandeep Singh @ 2025-05-21 4:43 UTC (permalink / raw) To: Hemant Agrawal (OSS), dev, Hemant Agrawal, Sachin Saxena, Franck Lenormand, Akhil Goyal Cc: stable Hi, > -----Original Message----- > From: Hemant Agrawal (OSS) <hemant.agrawal@oss.nxp.com> > Sent: Tuesday, May 20, 2025 11:46 AM > To: Gagandeep Singh <G.Singh@nxp.com>; dev@dpdk.org; Hemant Agrawal > <hemant.agrawal@nxp.com>; Sachin Saxena <sachin.saxena@nxp.com>; Franck > Lenormand <franck.lenormand@nxp.com>; Akhil Goyal <gakhil@marvell.com> > Cc: stable@dpdk.org > Subject: Re: [PATCH 1/9] common/dpaax: fix invalid key command error > > > On 20-05-2025 11:21, Gagandeep Singh wrote: > > Due to race between KEY loading to CAAM’s internal memory and > > initiating crypto operations can SEC errors in PDCP AES algo > > combinations. > Please fix grammar. Ok. > > To mitigate this, adding CALM instruction in SN 12bit case and using > > older version of descriptor for SN 18bit case. > > > > Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") > > Cc: franck.lenormand@nxp.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Gagandeep Singh <g.singh@nxp.com> > > --- > > Please send cover-letter for multi patch series. Sure, I will send it in next version. > > > drivers/common/dpaax/caamflib/desc/pdcp.h | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h > > b/drivers/common/dpaax/caamflib/desc/pdcp.h > > index 9ada3905c5..f4379ede2c 100644 > > --- a/drivers/common/dpaax/caamflib/desc/pdcp.h > > +++ b/drivers/common/dpaax/caamflib/desc/pdcp.h > > @@ -1,6 +1,6 @@ > > /* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0+ > > * Copyright 2008-2013 Freescale Semiconductor, Inc. > > - * Copyright 2019-2023 NXP > > + * Copyright 2019-2025 NXP > > */ > > > > #ifndef __DESC_PDCP_H__ > > @@ -1981,8 +1981,7 @@ pdcp_insert_uplane_no_int_op(struct program *p, > > KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, > > cipherdata->keylen, INLINE_KEY(cipherdata)); > > > > - if ((sn_size == PDCP_SN_SIZE_15) || > > - (rta_sec_era >= RTA_SEC_ERA_10)) { > > + if (sn_size == PDCP_SN_SIZE_15) { > > In description, you mentioned 18 bit SN case, however here you are modifying 15 > bit code? > > am I missing the changes for 18 bit ? There are two variants of the 18-bit SN descriptor. One uses the PROTOCOL instruction, which is available only in Security Version 10 and above. The other uses the OPERATION instruction, which is supported in all security versions. However, the PROTOCOL instruction has some issues: it may trigger an 'Invalid key command' error due to a race condition. To address this, I removed the check (rta_sec_era >= RTA_SEC_ERA_10), allowing the 18-bit SN case on higher security versions to fall back to the older OPERATION-based descriptor. > > > PROTOCOL(p, dir, OP_PCLID_LTE_PDCP_USER, > > (uint16_t)cipherdata->algtype); > > return 0; > > @@ -2747,6 +2746,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t > *descbuf, > > (uint64_t)cipherdata->key, cipherdata->keylen, > > INLINE_KEY(cipherdata)); > > > > + JUMP(p, 1, LOCAL_JUMP, ALL_TRUE, CALM); > > if (authdata) > > PROTOCOL(p, OP_TYPE_ENCAP_PROTOCOL, > > OP_PCLID_LTE_PDCP_USER_RN, ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <20250521065658.857707-1-g.singh@nxp.com>]
* [PATCH v2 1/9] common/dpaax: fix invalid key command error [not found] ` <20250521065658.857707-1-g.singh@nxp.com> @ 2025-05-21 6:56 ` Gagandeep Singh 2025-05-21 6:56 ` [PATCH v2 2/9] common/dpaax: fix for PDCP AES only 12bit SN case Gagandeep Singh 2025-05-21 6:56 ` [PATCH v2 5/9] crypto/dpaa2_sec: fix coverity Issues Gagandeep Singh 2 siblings, 0 replies; 8+ messages in thread From: Gagandeep Singh @ 2025-05-21 6:56 UTC (permalink / raw) To: dev, gakhil, Hemant Agrawal, Sachin Saxena, Franck Lenormand; +Cc: stable A race condition between loading the key into CAAM’s internal memory and initiating cryptographic operations can cause SEC errors in PDCP AES algorithm combinations. To mitigate this, the CALM instruction is added for the 12-bit SN case, and the older version of the descriptor is used for the 18-bit SN case. Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") Cc: franck.lenormand@nxp.com Cc: stable@dpdk.org Signed-off-by: Gagandeep Singh <g.singh@nxp.com> --- drivers/common/dpaax/caamflib/desc/pdcp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax/caamflib/desc/pdcp.h index 9ada3905c5..f4379ede2c 100644 --- a/drivers/common/dpaax/caamflib/desc/pdcp.h +++ b/drivers/common/dpaax/caamflib/desc/pdcp.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause or GPL-2.0+ * Copyright 2008-2013 Freescale Semiconductor, Inc. - * Copyright 2019-2023 NXP + * Copyright 2019-2025 NXP */ #ifndef __DESC_PDCP_H__ @@ -1981,8 +1981,7 @@ pdcp_insert_uplane_no_int_op(struct program *p, KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, cipherdata->keylen, INLINE_KEY(cipherdata)); - if ((sn_size == PDCP_SN_SIZE_15) || - (rta_sec_era >= RTA_SEC_ERA_10)) { + if (sn_size == PDCP_SN_SIZE_15) { PROTOCOL(p, dir, OP_PCLID_LTE_PDCP_USER, (uint16_t)cipherdata->algtype); return 0; @@ -2747,6 +2746,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, (uint64_t)cipherdata->key, cipherdata->keylen, INLINE_KEY(cipherdata)); + JUMP(p, 1, LOCAL_JUMP, ALL_TRUE, CALM); if (authdata) PROTOCOL(p, OP_TYPE_ENCAP_PROTOCOL, OP_PCLID_LTE_PDCP_USER_RN, -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 2/9] common/dpaax: fix for PDCP AES only 12bit SN case [not found] ` <20250521065658.857707-1-g.singh@nxp.com> 2025-05-21 6:56 ` [PATCH v2 " Gagandeep Singh @ 2025-05-21 6:56 ` Gagandeep Singh 2025-05-21 6:56 ` [PATCH v2 5/9] crypto/dpaa2_sec: fix coverity Issues Gagandeep Singh 2 siblings, 0 replies; 8+ messages in thread From: Gagandeep Singh @ 2025-05-21 6:56 UTC (permalink / raw) To: dev, gakhil, Hemant Agrawal, Sachin Saxena, Franck Lenormand; +Cc: stable This workaround fixes the invalid key command SEC error. Fixes: 6127fff842a7 ("common/dpaax: remove outdated caamflib code") Cc: franck.lenormand@nxp.com Cc: stable@dpdk.org Signed-off-by: Gagandeep Singh <g.singh@nxp.com> --- drivers/common/dpaax/caamflib/desc/pdcp.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax/caamflib/desc/pdcp.h index f4379ede2c..c90eff26a8 100644 --- a/drivers/common/dpaax/caamflib/desc/pdcp.h +++ b/drivers/common/dpaax/caamflib/desc/pdcp.h @@ -619,7 +619,7 @@ pdcp_insert_cplane_enc_only_op(struct program *p, KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, cipherdata->keylen, INLINE_KEY(cipherdata)); - if ((sn_size != PDCP_SN_SIZE_18 && + if ((authdata && sn_size != PDCP_SN_SIZE_18 && !(rta_sec_era == RTA_SEC_ERA_8 && authdata->algtype == 0)) || (rta_sec_era == RTA_SEC_ERA_10)) { @@ -631,6 +631,7 @@ pdcp_insert_cplane_enc_only_op(struct program *p, (uint16_t)cipherdata->algtype << 8); return 0; } + /* Non-proto is supported only for 5bit cplane and 18bit uplane */ switch (sn_size) { case PDCP_SN_SIZE_5: @@ -2719,7 +2720,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, case PDCP_CIPHER_TYPE_AES: case PDCP_CIPHER_TYPE_SNOW: case PDCP_CIPHER_TYPE_NULL: - if (rta_sec_era == RTA_SEC_ERA_8 && + if (rta_sec_era >= RTA_SEC_ERA_8 && authdata && authdata->algtype == 0){ err = pdcp_insert_uplane_with_int_op(p, swap, cipherdata, authdata, @@ -2729,6 +2730,17 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf, return err; break; } + if (rta_sec_era >= RTA_SEC_ERA_8 && + cipherdata->algtype == PDCP_CIPHER_TYPE_AES + && !authdata + && sn_size == PDCP_SN_SIZE_12) { + err = pdcp_insert_cplane_enc_only_op(p, swap, cipherdata, + authdata, + OP_TYPE_ENCAP_PROTOCOL, sn_size); + if (err) + return err; + break; + } if (pdb_type != PDCP_PDB_TYPE_FULL_PDB) { pr_err("PDB type must be FULL for PROTO desc\n"); -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 5/9] crypto/dpaa2_sec: fix coverity Issues [not found] ` <20250521065658.857707-1-g.singh@nxp.com> 2025-05-21 6:56 ` [PATCH v2 " Gagandeep Singh 2025-05-21 6:56 ` [PATCH v2 2/9] common/dpaax: fix for PDCP AES only 12bit SN case Gagandeep Singh @ 2025-05-21 6:56 ` Gagandeep Singh 2 siblings, 0 replies; 8+ messages in thread From: Gagandeep Singh @ 2025-05-21 6:56 UTC (permalink / raw) To: dev, gakhil, Hemant Agrawal; +Cc: Vanshika Shukla, g.singh, stable From: Vanshika Shukla <vanshika.shukla@nxp.com> Fixes the uninitialized variable issue - reported by NXP internal coverity. Fixes: 1182b364312c ("crypto/dpaax_sec: set authdata in non-auth case") Cc: g.singh@nxp.com Cc: stable@dpdk.org Signed-off-by: Vanshika Shukla <vanshika.shukla@nxp.com> --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 925d2709d2..5995eb58d8 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -3576,6 +3576,7 @@ dpaa2_sec_set_pdcp_session(struct rte_cryptodev *dev, session->auth_key.data = NULL; session->auth_key.length = 0; session->auth_alg = 0; + authdata.algtype = PDCP_AUTH_TYPE_NULL; } authdata.key = (size_t)session->auth_key.data; authdata.keylen = session->auth_key.length; -- 2.25.1 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-05-21 6:57 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-05-20 5:51 [PATCH 1/9] common/dpaax: fix invalid key command error Gagandeep Singh 2025-05-20 5:51 ` [PATCH 2/9] common/dpaax: fix for PDCP AES only 12bit SN case Gagandeep Singh 2025-05-20 5:51 ` [PATCH 5/9] crypto/dpaa2_sec: fix coverity Issues Gagandeep Singh 2025-05-20 6:16 ` [PATCH 1/9] common/dpaax: fix invalid key command error Hemant Agrawal 2025-05-21 4:43 ` Gagandeep Singh [not found] ` <20250521065658.857707-1-g.singh@nxp.com> 2025-05-21 6:56 ` [PATCH v2 " Gagandeep Singh 2025-05-21 6:56 ` [PATCH v2 2/9] common/dpaax: fix for PDCP AES only 12bit SN case Gagandeep Singh 2025-05-21 6:56 ` [PATCH v2 5/9] crypto/dpaa2_sec: fix coverity Issues Gagandeep Singh
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).