patch 'test/crypto: fix auth and cipher case IV length' has been queued to stable release 22.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Jun 30 14:25:45 CEST 2025
Hi,
FYI, your patch has been queued to stable release 22.11.9
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/02/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/58f3e0570da43fa3ea85852f476b149fce7c6a59
Thanks.
Luca Boccassi
---
>From 58f3e0570da43fa3ea85852f476b149fce7c6a59 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 dc654a4c66..c4b55e01aa 100644
--- a/app/test/test_cryptodev.h
+++ b/app/test/test_cryptodev.h
@@ -43,7 +43,11 @@
#define TRUNCATED_DIGEST_BYTE_LENGTH_SHA384 (24)
#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)
#define IV_OFFSET (sizeof(struct rte_crypto_op) + \
--
2.47.2
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-06-30 13:21:22.322198019 +0100
+++ 0015-test-crypto-fix-auth-and-cipher-case-IV-length.patch 2025-06-30 13:21:21.751057449 +0100
@@ -1 +1 @@
-From c479e33bcf0173f08fd48269fb223e605b6caa41 Mon Sep 17 00:00:00 2001
+From 58f3e0570da43fa3ea85852f476b149fce7c6a59 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 dc654a4c66..c4b55e01aa 100644
@@ -21 +22 @@
-@@ -40,7 +40,11 @@
+@@ -43,7 +43,11 @@
More information about the stable
mailing list