[dpdk-stable] patch 'examples/fips_validation: fix cipher length for AES-GCM' has been queued to LTS release 18.11.7

Kevin Traynor ktraynor at redhat.com
Fri Feb 14 18:03:31 CET 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/20/20. 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/f60724548145322e12b86169750d2c0418c7c61d

Thanks.

Kevin.

---
>From f60724548145322e12b86169750d2c0418c7c61d Mon Sep 17 00:00:00 2001
From: Sucharitha Sarananaga <ssarananaga at marvell.com>
Date: Mon, 6 Jan 2020 15:03:11 +0530
Subject: [PATCH] examples/fips_validation: fix cipher length for AES-GCM

[ upstream commit 07f5e4553293cff259b7c44f1aa7bad7734eaca2 ]

Cipher length need to be updated in case of AES-GCM decryption.

Fixes: 4aaad2995e13 ("examples/fips_validation: support GCM parsing")

Signed-off-by: Archana Muniganti <marchana at marvell.com>
Signed-off-by: Sucharitha Sarananaga <ssarananaga at marvell.com>
Acked-by: Anoob Joseph <anoobj at marvell.com>
---
 examples/fips_validation/fips_validation_gcm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/fips_validation/fips_validation_gcm.c b/examples/fips_validation/fips_validation_gcm.c
index 0509b101a7..b121802e20 100644
--- a/examples/fips_validation/fips_validation_gcm.c
+++ b/examples/fips_validation/fips_validation_gcm.c
@@ -20,4 +20,5 @@
 #define AADLEN_STR	"AADlen = "
 #define TAGLEN_STR	"Taglen = "
+#define CTLEN_STR	"PTlen = "
 
 #define COUNT_STR	"Count = "
@@ -47,4 +48,5 @@ struct fips_test_callback gcm_interim_vectors[] = {
 		{IVLEN_STR, parser_read_uint32_bit_val, &vec.iv},
 		{PTLEN_STR, parser_read_uint32_bit_val, &vec.pt},
+		{CTLEN_STR, parser_read_uint32_bit_val, &vec.ct},
 		{AADLEN_STR, parser_read_uint32_bit_val, &vec.cipher_auth.aad},
 		{TAGLEN_STR, parser_read_uint32_bit_val,
-- 
2.21.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-02-14 17:02:39.118169995 +0000
+++ 0037-examples-fips_validation-fix-cipher-length-for-AES-G.patch	2020-02-14 17:02:37.050405873 +0000
@@ -1 +1 @@
-From 07f5e4553293cff259b7c44f1aa7bad7734eaca2 Mon Sep 17 00:00:00 2001
+From f60724548145322e12b86169750d2c0418c7c61d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 07f5e4553293cff259b7c44f1aa7bad7734eaca2 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index ea48ddf707..f295025590 100644
+index 0509b101a7..b121802e20 100644
@@ -32 +33 @@
- 		{AADLEN_STR, parser_read_uint32_bit_val, &vec.aead.aad},
+ 		{AADLEN_STR, parser_read_uint32_bit_val, &vec.cipher_auth.aad},



More information about the stable mailing list