crypto/cnxk: fix status code in asymmetric operation
PATCH 1/1 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 <[email protected]>
--- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/crypto/cnxk/cn9k_cryptodev_ops.c +2 -0
@@ -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 ;
Signature · 1 line
2.25.1
Akhil Goyal
AppliedQuoted 9 lines
Subject: [PATCH]
crypto/cnxk: fix status code in asymmetric operationReturn 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 <[email protected]>---
Applied to dpdk-next-crypto
Cc: [email protected]