patch 'test/crypto: fix auth and cipher case IV length' has been queued to stable release 23.11.5

Xueming Li xuemingl at nvidia.com
Wed Jul 30 09:10:21 CEST 2025


Hi,

FYI, your patch has been queued to stable release 23.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/10/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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging

This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=5d151f799ed7dbacc83e761d166a34842f2dddc1

Thanks.

Xueming Li <xuemingl at nvidia.com>

---
>From 5d151f799ed7dbacc83e761d166a34842f2dddc1 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
Cc: Xueming Li <xuemingl at nvidia.com>

[ 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 feee8c3f42..2b69e23a73 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.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-30 15:02:13.131717618 +0800
+++ 0010-test-crypto-fix-auth-and-cipher-case-IV-length.patch	2025-07-30 15:02:12.774913471 +0800
@@ -1 +1 @@
-From c479e33bcf0173f08fd48269fb223e605b6caa41 Mon Sep 17 00:00:00 2001
+From 5d151f799ed7dbacc83e761d166a34842f2dddc1 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit c479e33bcf0173f08fd48269fb223e605b6caa41 ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
@@ -18 +20 @@
-index a80c11baf4..e243cf945a 100644
+index feee8c3f42..2b69e23a73 100644
@@ -21 +23 @@
-@@ -40,7 +40,11 @@
+@@ -43,7 +43,11 @@


More information about the stable mailing list