* [PATCH] test/crypto: fix return value in RSA test
@ 2025-05-15 8:08 Gowrishankar Muthukrishnan
2025-05-21 9:21 ` Akhil Goyal
2025-05-21 9:21 ` Akhil Goyal
0 siblings, 2 replies; 3+ messages in thread
From: Gowrishankar Muthukrishnan @ 2025-05-15 8:08 UTC (permalink / raw)
To: dev, Akhil Goyal, Fan Zhang, Gowrishankar Muthukrishnan; +Cc: anoobj
This patch fixes incorrect return value when RSA negative
test scenario is validated.
Coverity-issue: 457463
Fixes: 9682e8246ae ("test/crypto: add negative case for RSA verification")
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
app/test/test_cryptodev_asym.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c
index 2377a18c72..6ecbea6b40 100644
--- a/app/test/test_cryptodev_asym.c
+++ b/app/test/test_cryptodev_asym.c
@@ -155,6 +155,7 @@ queue_ops_rsa_sign_verify(void *sess)
if (result_op->status != RTE_CRYPTO_OP_STATUS_ERROR) {
RTE_LOG(ERR, USER1, "Failed to process sign-verify op\n");
status = TEST_FAILED;
+ goto error_exit;
}
status = TEST_SUCCESS;
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] test/crypto: fix return value in RSA test
2025-05-15 8:08 [PATCH] test/crypto: fix return value in RSA test Gowrishankar Muthukrishnan
@ 2025-05-21 9:21 ` Akhil Goyal
2025-05-21 9:21 ` Akhil Goyal
1 sibling, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2025-05-21 9:21 UTC (permalink / raw)
To: Gowrishankar Muthukrishnan, dev, Fan Zhang, Gowrishankar Muthukrishnan
Cc: Anoob Joseph
> This patch fixes incorrect return value when RSA negative
> test scenario is validated.
>
> Coverity-issue: 457463
> Fixes: 9682e8246ae ("test/crypto: add negative case for RSA verification")
>
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
Applied to dpdk-next-crypto
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] test/crypto: fix return value in RSA test
2025-05-15 8:08 [PATCH] test/crypto: fix return value in RSA test Gowrishankar Muthukrishnan
2025-05-21 9:21 ` Akhil Goyal
@ 2025-05-21 9:21 ` Akhil Goyal
1 sibling, 0 replies; 3+ messages in thread
From: Akhil Goyal @ 2025-05-21 9:21 UTC (permalink / raw)
To: Gowrishankar Muthukrishnan, dev, Fan Zhang, Gowrishankar Muthukrishnan
Cc: Anoob Joseph, dpdk stable
Cc: stable@dpdk.org
> Subject: [PATCH] test/crypto: fix return value in RSA test
>
> This patch fixes incorrect return value when RSA negative
> test scenario is validated.
>
> Coverity-issue: 457463
> Fixes: 9682e8246ae ("test/crypto: add negative case for RSA verification")
>
> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-21 9:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-15 8:08 [PATCH] test/crypto: fix return value in RSA test Gowrishankar Muthukrishnan
2025-05-21 9:21 ` Akhil Goyal
2025-05-21 9:21 ` 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).