patch 'test/crypto: fix auth and cipher case IV length' has been queued to stable release 24.11.3
Kevin Traynor
ktraynor at redhat.com
Fri Jul 18 21:30:56 CEST 2025
Hi,
FYI, your patch has been queued to stable release 24.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/23/25. 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
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/e09886a466a9c727ac5df627c76aae0779daeb3d
Thanks.
Kevin
---
>From e09886a466a9c727ac5df627c76aae0779daeb3d Mon Sep 17 00:00:00 2001
From: Nithinsen Kaithakadan <nkaithakadan at marvell.com>
Date: Wed, 18 Jun 2025 12:54:08 +0000
Subject: [PATCH] test/crypto: fix auth and cipher case IV length
[ upstream commit c479e33bcf0173f08fd48269fb223e605b6caa41 ]
Set maximum IV length to 32 bytes to include both auth IV
and cipher IV.
Fixes: fd01a9be38d5 ("test/crypto: move IV to crypto op private data")
Signed-off-by: Nithinsen Kaithakadan <nkaithakadan at marvell.com>
---
app/test/test_cryptodev.h | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h
index 190a220c73..7981c33d48 100644
--- a/app/test/test_cryptodev.h
+++ b/app/test/test_cryptodev.h
@@ -41,5 +41,9 @@
#define TRUNCATED_DIGEST_BYTE_LENGTH_SHA512 (32)
-#define MAXIMUM_IV_LENGTH (16)
+/*
+ * maximum IV length need to include both the
+ * auth IV length (16 bytes) and the cipher IV length (16 bytes)
+ */
+#define MAXIMUM_IV_LENGTH (32)
#define AES_GCM_J0_LENGTH (16)
--
2.50.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-07-18 20:29:15.265288992 +0100
+++ 0122-test-crypto-fix-auth-and-cipher-case-IV-length.patch 2025-07-18 20:29:11.061484119 +0100
@@ -1 +1 @@
-From c479e33bcf0173f08fd48269fb223e605b6caa41 Mon Sep 17 00:00:00 2001
+From e09886a466a9c727ac5df627c76aae0779daeb3d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c479e33bcf0173f08fd48269fb223e605b6caa41 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index a80c11baf4..e243cf945a 100644
+index 190a220c73..7981c33d48 100644
More information about the stable
mailing list