[dpdk-stable] patch 'crypto/qat: fix status in RSA decryption' has been queued to stable release 20.11.4
Xueming Li
xuemingl at nvidia.com
Wed Nov 10 07:31:53 CET 2021
Hi,
FYI, your patch has been queued to stable release 20.11.4
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/12/21. 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/steevenlee/dpdk
This queued commit can be viewed at:
https://github.com/steevenlee/dpdk/commit/d87c1f105f03c7f584915b451a59ad4c2c91a270
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From d87c1f105f03c7f584915b451a59ad4c2c91a270 Mon Sep 17 00:00:00 2001
From: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Date: Thu, 21 Oct 2021 11:05:43 +0100
Subject: [PATCH] crypto/qat: fix status in RSA decryption
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 0a9e63940337f9de9d07080b63160b5e89ea1425 ]
This commit fixes not set crypto op status when decrypting
with RSA algorithm.
Fixes: e2c5f4ea994c ("crypto/qat: support RSA in asym")
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
---
drivers/crypto/qat/qat_asym.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/crypto/qat/qat_asym.c
index 85973812a8..983c639d68 100644
--- a/drivers/crypto/qat/qat_asym.c
+++ b/drivers/crypto/qat/qat_asym.c
@@ -629,6 +629,8 @@ static void qat_asym_collect_response(struct rte_crypto_op *rx_op,
rte_memcpy(rsa_result,
cookie->output_array[0],
alg_size_in_bytes);
+ rx_op->status =
+ RTE_CRYPTO_OP_STATUS_SUCCESS;
break;
default:
QAT_LOG(ERR, "Padding not supported");
--
2.33.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2021-11-10 14:17:12.005898549 +0800
+++ 0229-crypto-qat-fix-status-in-RSA-decryption.patch 2021-11-10 14:17:02.060744536 +0800
@@ -1 +1 @@
-From 0a9e63940337f9de9d07080b63160b5e89ea1425 Mon Sep 17 00:00:00 2001
+From d87c1f105f03c7f584915b451a59ad4c2c91a270 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 0a9e63940337f9de9d07080b63160b5e89ea1425 ]
@@ -10 +12,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list