[dpdk-stable] patch 'examples/ipsec-secgw: fix SHA256-HMAC digest length' has been queued to LTS release 17.11.10

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Dec 19 15:34:12 CET 2019


Hi,

FYI, your patch has been queued to LTS release 17.11.10

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/21/19. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Luca Boccassi

---
>From 9a2ae0c6c12d375d0da89af38c62224ae895eb7b Mon Sep 17 00:00:00 2001
From: Vakul Garg <vakul.garg at nxp.com>
Date: Wed, 6 Nov 2019 15:23:22 +0530
Subject: [PATCH] examples/ipsec-secgw: fix SHA256-HMAC digest length

[ upstream commit 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 ]

As per RFC4868, SHA-256 should use 128 bits of ICV.
Fixes: b5350285ce6e ("examples/ipsec-secgw: support SHA256 HMAC")

Signed-off-by: Vakul Garg <vakul.garg at nxp.com>
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
---
 examples/ipsec-secgw/sa.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
index 67127d0401..f01a53116a 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -123,7 +123,7 @@ const struct supported_auth_algo auth_algos[] = {
 	{
 		.keyword = "sha256-hmac",
 		.algo = RTE_CRYPTO_AUTH_SHA256_HMAC,
-		.digest_len = 12,
+		.digest_len = 16,
 		.key_len = 32
 	}
 };
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-19 14:32:30.500958231 +0000
+++ 0105-examples-ipsec-secgw-fix-SHA256-HMAC-digest-length.patch	2019-12-19 14:32:26.241300522 +0000
@@ -1,11 +1,12 @@
-From 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 Mon Sep 17 00:00:00 2001
+From 9a2ae0c6c12d375d0da89af38c62224ae895eb7b Mon Sep 17 00:00:00 2001
 From: Vakul Garg <vakul.garg at nxp.com>
 Date: Wed, 6 Nov 2019 15:23:22 +0530
 Subject: [PATCH] examples/ipsec-secgw: fix SHA256-HMAC digest length
 
+[ upstream commit 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 ]
+
 As per RFC4868, SHA-256 should use 128 bits of ICV.
 Fixes: b5350285ce6e ("examples/ipsec-secgw: support SHA256 HMAC")
-Cc: stable at dpdk.org
 
 Signed-off-by: Vakul Garg <vakul.garg at nxp.com>
 Acked-by: Akhil Goyal <akhil.goyal at nxp.com>
@@ -14,10 +15,10 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c
-index a8dee342eb..f56e16bfc7 100644
+index 67127d0401..f01a53116a 100644
 --- a/examples/ipsec-secgw/sa.c
 +++ b/examples/ipsec-secgw/sa.c
-@@ -115,7 +115,7 @@ const struct supported_auth_algo auth_algos[] = {
+@@ -123,7 +123,7 @@ const struct supported_auth_algo auth_algos[] = {
  	{
  		.keyword = "sha256-hmac",
  		.algo = RTE_CRYPTO_AUTH_SHA256_HMAC,


More information about the stable mailing list