patch 'test/crypto: fix IPsec AES CCM vector' has been queued to stable release 22.11.3
Xueming Li
xuemingl at nvidia.com
Sun Jun 25 08:34:58 CEST 2023
Hi,
FYI, your patch has been queued to stable release 22.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 06/27/23. 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=22.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=a659f5f18c3633863e844c00b6ee65323c6eea7d
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From a659f5f18c3633863e844c00b6ee65323c6eea7d Mon Sep 17 00:00:00 2001
From: Tejasree Kondoj <ktejasree at marvell.com>
Date: Wed, 24 May 2023 18:21:56 +0530
Subject: [PATCH] test/crypto: fix IPsec AES CCM vector
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 7de104c59392a7ee8382f81e23b123281422f5c8 ]
Set IPsec AES-CCM test vector IV length to 11
instead of 12 as it includes only 3B salt and
8B per packet IV.
Fixes: d314299950de ("test/crypto: add AES-CCM vectors")
Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
---
app/test/test_cryptodev_security_ipsec_test_vectors.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/test/test_cryptodev_security_ipsec_test_vectors.h b/app/test/test_cryptodev_security_ipsec_test_vectors.h
index 2686bbeb62..6e60e32b9d 100644
--- a/app/test/test_cryptodev_security_ipsec_test_vectors.h
+++ b/app/test/test_cryptodev_security_ipsec_test_vectors.h
@@ -417,7 +417,8 @@ struct ipsec_test_data pkt_aes_256_ccm = {
.op = RTE_CRYPTO_AEAD_OP_ENCRYPT,
.algo = RTE_CRYPTO_AEAD_AES_CCM,
.key.length = 32,
- .iv.length = 12,
+ /* IV includes 3B salt and 8B per packet IV */
+ .iv.length = 11,
.iv.offset = IV_OFFSET,
.digest_length = 16,
.aad_length = 12,
--
2.25.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2023-06-25 14:32:00.651681900 +0800
+++ 0080-test-crypto-fix-IPsec-AES-CCM-vector.patch 2023-06-25 14:31:58.455773900 +0800
@@ -1 +1 @@
-From 7de104c59392a7ee8382f81e23b123281422f5c8 Mon Sep 17 00:00:00 2001
+From a659f5f18c3633863e844c00b6ee65323c6eea7d Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 7de104c59392a7ee8382f81e23b123281422f5c8 ]
@@ -11 +13,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list