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

Kevin Traynor ktraynor at redhat.com
Tue Dec 10 15:59:32 CET 2019


Hi,

FYI, your patch has been queued to LTS release 18.11.6

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/16/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.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/6be4264d4f62e5a05792fde571576c797c979229

Thanks.

Kevin.

---
>From 6be4264d4f62e5a05792fde571576c797c979229 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 dd01f1fbc..30d1fb22d 100644
--- a/examples/ipsec-secgw/sa.c
+++ b/examples/ipsec-secgw/sa.c
@@ -113,5 +113,5 @@ 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.21.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2019-12-10 14:49:42.898521241 +0000
+++ 0058-examples-ipsec-secgw-fix-SHA256-HMAC-digest-length.patch	2019-12-10 14:49:39.099456891 +0000
@@ -1 +1 @@
-From 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 Mon Sep 17 00:00:00 2001
+From 6be4264d4f62e5a05792fde571576c797c979229 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 2fcf3f70d19af191eef79fbc9f2d978b2ffb1588 ]
+
@@ -8 +9,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
-index a8dee342e..f56e16bfc 100644
+index dd01f1fbc..30d1fb22d 100644
@@ -20 +21 @@
-@@ -116,5 +116,5 @@ const struct supported_auth_algo auth_algos[] = {
+@@ -113,5 +113,5 @@ const struct supported_auth_algo auth_algos[] = {



More information about the stable mailing list