DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] crypto/cnxk: fix status code in asymmetric operation
@ 2025-02-16 14:25 Gowrishankar Muthukrishnan
  2025-03-02 20:28 ` Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Gowrishankar Muthukrishnan @ 2025-02-16 14:25 UTC (permalink / raw)
  To: dev, Akhil Goyal, Ankur Dwivedi, Anoob Joseph, Tejasree Kondoj,
	Gowrishankar Muthukrishnan

Return error code in an asymmetric operation status
when none of the known conditions met.

Fixes: d29c4e0a4bea ("crypto/cnxk: fix ECDH public key verification")

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
 drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c b/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
index 8d10bc9f9b..2b1bd70c6d 100644
--- a/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
+++ b/drivers/crypto/cnxk/cn9k_cryptodev_ops.c
@@ -529,6 +529,8 @@ cn9k_cpt_dequeue_post_process(struct cnxk_cpt_qp *qp, struct rte_crypto_op *cop,
 						cop->status = RTE_CRYPTO_OP_STATUS_SUCCESS;
 						return;
 					}
+				} else {
+					cop->status = RTE_CRYPTO_OP_STATUS_ERROR;
 				}
 			} else
 				cop->status = RTE_CRYPTO_OP_STATUS_ERROR;
-- 
2.25.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [PATCH] crypto/cnxk: fix status code in asymmetric operation
  2025-02-16 14:25 [PATCH] crypto/cnxk: fix status code in asymmetric operation Gowrishankar Muthukrishnan
@ 2025-03-02 20:28 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2025-03-02 20:28 UTC (permalink / raw)
  To: Gowrishankar Muthukrishnan, dev, Ankur Dwivedi, Anoob Joseph,
	Tejasree Kondoj, Gowrishankar Muthukrishnan
  Cc: stable

> Subject: [PATCH] crypto/cnxk: fix status code in asymmetric operation
> 
> Return error code in an asymmetric operation status
> when none of the known conditions met.
> 
> Fixes: d29c4e0a4bea ("crypto/cnxk: fix ECDH public key verification")
> 
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
> ---
Applied to dpdk-next-crypto
Cc: stable@dpdk.org


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-02 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-16 14:25 [PATCH] crypto/cnxk: fix status code in asymmetric operation Gowrishankar Muthukrishnan
2025-03-02 20:28 ` Akhil Goyal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).