patch 'examples/fips_validation: fix typo in error log' has been queued to stable release 21.11.3

Kevin Traynor ktraynor at redhat.com
Wed Nov 23 19:03:45 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.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 11/28/22. 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/aaf49e83ab1ba63bca7813f98e23594f8dfd1b49

Thanks.

Kevin

---
>From aaf49e83ab1ba63bca7813f98e23594f8dfd1b49 Mon Sep 17 00:00:00 2001
From: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Date: Mon, 7 Nov 2022 10:03:30 +0000
Subject: [PATCH] examples/fips_validation: fix typo in error log

[ upstream commit 8782b3b64b4c38c0e2d4cf5bda2795ddd268cf41 ]

Digest length is being printed out, not IV length.

Fixes: ac026f4668d0 ("examples/fips_validation: support CMAC parsing")
Fixes: f64adb6714e0 ("examples/fips_validation: support HMAC parsing")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Reviewed-by: Brian Dooley <brian.dooley at intel.com>
---
 examples/fips_validation/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c
index dc40bffe7d..e8223206f2 100644
--- a/examples/fips_validation/main.c
+++ b/examples/fips_validation/main.c
@@ -864,5 +864,5 @@ prepare_hmac_xform(struct rte_crypto_sym_xform *xform)
 			auth_xform->key.length,
 			auth_xform->digest_length, 0) != 0) {
-		RTE_LOG(ERR, USER1, "PMD %s key length %u IV length %u\n",
+		RTE_LOG(ERR, USER1, "PMD %s key length %u Digest length %u\n",
 				info.device_name, auth_xform->key.length,
 				auth_xform->digest_length);
@@ -993,5 +993,5 @@ prepare_cmac_xform(struct rte_crypto_sym_xform *xform)
 			auth_xform->key.length,
 			auth_xform->digest_length, 0) != 0) {
-		RTE_LOG(ERR, USER1, "PMD %s key length %u IV length %u\n",
+		RTE_LOG(ERR, USER1, "PMD %s key length %u Digest length %u\n",
 				info.device_name, auth_xform->key.length,
 				auth_xform->digest_length);
-- 
2.38.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-11-23 09:55:57.839593611 +0000
+++ 0032-examples-fips_validation-fix-typo-in-error-log.patch	2022-11-23 09:55:57.071149312 +0000
@@ -1 +1 @@
-From 8782b3b64b4c38c0e2d4cf5bda2795ddd268cf41 Mon Sep 17 00:00:00 2001
+From aaf49e83ab1ba63bca7813f98e23594f8dfd1b49 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 8782b3b64b4c38c0e2d4cf5bda2795ddd268cf41 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 404a29d7b6..9a9babb53a 100644
+index dc40bffe7d..e8223206f2 100644
@@ -22 +23 @@
-@@ -1211,5 +1211,5 @@ prepare_hmac_xform(struct rte_crypto_sym_xform *xform)
+@@ -864,5 +864,5 @@ prepare_hmac_xform(struct rte_crypto_sym_xform *xform)
@@ -29 +30 @@
-@@ -1340,5 +1340,5 @@ prepare_cmac_xform(struct rte_crypto_sym_xform *xform)
+@@ -993,5 +993,5 @@ prepare_cmac_xform(struct rte_crypto_sym_xform *xform)



More information about the stable mailing list