patch 'crypto/dpaa_sec: fix digest size' has been queued to stable release 19.11.13
christian.ehrhardt at canonical.com
christian.ehrhardt at canonical.com
Thu Jul 7 09:54:03 CEST 2022
Hi,
FYI, your patch has been queued to stable release 19.11.13
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/09/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/cpaelzer/dpdk-stable-queue
This queued commit can be viewed at:
https://github.com/cpaelzer/dpdk-stable-queue/commit/69e05f69da5630d54d60783a10f4660188c69fda
Thanks.
Christian Ehrhardt <christian.ehrhardt at canonical.com>
---
>From 69e05f69da5630d54d60783a10f4660188c69fda Mon Sep 17 00:00:00 2001
From: Gagandeep Singh <g.singh at nxp.com>
Date: Thu, 17 Mar 2022 14:25:58 +0530
Subject: [PATCH] crypto/dpaa_sec: fix digest size
[ upstream commit 841147ef973b415e8e21b6521e93361001ee2fc1 ]
DPAA crypto driver can support 64 bytes size digest size
for SHA512-HMAC.
This patch changes the value of macro max supported digest size to
64.
Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform")
Signed-off-by: Gagandeep Singh <g.singh at nxp.com>
---
drivers/crypto/dpaa_sec/dpaa_sec.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h
index 3ecc7eae51..4b07b7d5e7 100644
--- a/drivers/crypto/dpaa_sec/dpaa_sec.h
+++ b/drivers/crypto/dpaa_sec/dpaa_sec.h
@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: BSD-3-Clause
*
- * Copyright 2016 NXP
+ * Copyright 2016-2022 NXP
*
*/
@@ -207,7 +207,7 @@ struct dpaa_sec_job {
struct qm_sg_entry sg[MAX_JOB_SG_ENTRIES];
};
-#define DPAA_MAX_NB_MAX_DIGEST 32
+#define DPAA_MAX_NB_MAX_DIGEST 64
struct dpaa_sec_op_ctx {
struct dpaa_sec_job job;
struct rte_crypto_op *op;
--
2.37.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-07-07 09:54:11.544509912 +0200
+++ 0008-crypto-dpaa_sec-fix-digest-size.patch 2022-07-07 09:54:10.789823530 +0200
@@ -1 +1 @@
-From 841147ef973b415e8e21b6521e93361001ee2fc1 Mon Sep 17 00:00:00 2001
+From 69e05f69da5630d54d60783a10f4660188c69fda Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 841147ef973b415e8e21b6521e93361001ee2fc1 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 7890687828..b3f2258ead 100644
+index 3ecc7eae51..4b07b7d5e7 100644
@@ -26 +27 @@
-- * Copyright 2016-2021 NXP
+- * Copyright 2016 NXP
@@ -31 +32 @@
-@@ -231,7 +231,7 @@ struct dpaa_sec_job {
+@@ -207,7 +207,7 @@ struct dpaa_sec_job {
@@ -39 +40 @@
- union {
+ struct rte_crypto_op *op;
More information about the stable
mailing list