patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 03/10] crypto/dpaa_sec: fix to check for aead as well
       [not found] <20191011163233.31017-1-hemant.agrawal@nxp.com>
@ 2019-10-11 16:32 ` Hemant Agrawal
       [not found] ` <20191014065330.31605-1-hemant.agrawal@nxp.com>
  1 sibling, 0 replies; 2+ messages in thread
From: Hemant Agrawal @ 2019-10-11 16:32 UTC (permalink / raw)
  To: dev; +Cc: akhil.goyal, stable, Vakul Garg

From: Vakul Garg <vakul.garg@nxp.com>

The code shall also check aead as non auth-cipher case

Fixes: 1f14d500bce1 ("crypto/dpaa_sec: support IPsec protocol offload")
Cc: stable@dpdk.org

Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
---
 drivers/crypto/dpaa_sec/dpaa_sec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c
index 38cfdd378..e89cbcefb 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.c
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.c
@@ -266,7 +266,8 @@ static inline int is_auth_cipher(dpaa_sec_session *ses)
 	return ((ses->cipher_alg != RTE_CRYPTO_CIPHER_NULL) &&
 		(ses->auth_alg != RTE_CRYPTO_AUTH_NULL) &&
 		(ses->proto_alg != RTE_SECURITY_PROTOCOL_PDCP) &&
-		(ses->proto_alg != RTE_SECURITY_PROTOCOL_IPSEC));
+		(ses->proto_alg != RTE_SECURITY_PROTOCOL_IPSEC) &&
+		(ses->aead_alg == 0));
 }
 
 static inline int is_proto_ipsec(dpaa_sec_session *ses)
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-stable] [PATCH v2 03/10] crypto/dpaa_sec: fix to check for aead as well
       [not found] ` <20191014065330.31605-1-hemant.agrawal@nxp.com>
@ 2019-10-14  6:53   ` Hemant Agrawal
  0 siblings, 0 replies; 2+ messages in thread
From: Hemant Agrawal @ 2019-10-14  6:53 UTC (permalink / raw)
  To: dev; +Cc: akhil.goyal, stable, Vakul Garg

From: Vakul Garg <vakul.garg@nxp.com>

The code shall also check aead as non auth-cipher case

Fixes: 1f14d500bce1 ("crypto/dpaa_sec: support IPsec protocol offload")
Cc: stable@dpdk.org

Signed-off-by: Vakul Garg <vakul.garg@nxp.com>
---
 drivers/crypto/dpaa_sec/dpaa_sec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c
index 38cfdd378..e89cbcefb 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.c
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.c
@@ -266,7 +266,8 @@ static inline int is_auth_cipher(dpaa_sec_session *ses)
 	return ((ses->cipher_alg != RTE_CRYPTO_CIPHER_NULL) &&
 		(ses->auth_alg != RTE_CRYPTO_AUTH_NULL) &&
 		(ses->proto_alg != RTE_SECURITY_PROTOCOL_PDCP) &&
-		(ses->proto_alg != RTE_SECURITY_PROTOCOL_IPSEC));
+		(ses->proto_alg != RTE_SECURITY_PROTOCOL_IPSEC) &&
+		(ses->aead_alg == 0));
 }
 
 static inline int is_proto_ipsec(dpaa_sec_session *ses)
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-14  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20191011163233.31017-1-hemant.agrawal@nxp.com>
2019-10-11 16:32 ` [dpdk-stable] [PATCH 03/10] crypto/dpaa_sec: fix to check for aead as well Hemant Agrawal
     [not found] ` <20191014065330.31605-1-hemant.agrawal@nxp.com>
2019-10-14  6:53   ` [dpdk-stable] [PATCH v2 " Hemant Agrawal

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).