From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C8A5A0547; Thu, 21 Oct 2021 12:06:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C6CF6411F8; Thu, 21 Oct 2021 12:06:12 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 404F54116A; Thu, 21 Oct 2021 12:06:10 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10143"; a="315199684" X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="315199684" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Oct 2021 03:05:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,169,1631602800"; d="scan'208";a="484139697" Received: from silpixa00400308.ir.intel.com ([10.237.214.196]) by orsmga007.jf.intel.com with ESMTP; 21 Oct 2021 03:05:48 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal , stable@dpdk.org Date: Thu, 21 Oct 2021 11:05:43 +0100 Message-Id: <20211021100543.16146-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] crypto/qat: fix not set status in RSA decryption X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This commit fixes not set status when decrypting with RSA algorithm. Fixes: e2c5f4ea994c ("crypto/qat: support RSA in asym") Cc: stable@dpdk.org Signed-off-by: Arek Kusztal --- 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.21.3