DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1 0/2] Changes for RSA verify operation in OpenSSL PMD and unit tests
@ 2018-10-11 13:43 Akash Saxena
  2018-10-11 13:43 ` [dpdk-dev] [PATCH v1 1/2] crypto/openssl: changes for RSA verify operation Akash Saxena
  2018-10-11 13:43 ` [dpdk-dev] [PATCH v1 2/2] test/crypto: remove data verification at rsa " Akash Saxena
  0 siblings, 2 replies; 8+ messages in thread
From: Akash Saxena @ 2018-10-11 13:43 UTC (permalink / raw)
  To: pablo.de.lara.guarch
  Cc: dev, akhil.goyal, shally.verma, ayuj.verma, Akash Saxena

In lib cryptodev, RSA verify operation inputs plain message text and
corresponding signature and expected to return 
RTE_CRYPTO_OP_STATUS_SUCCESS/FAILURE on a signature match/mismatch. 
Current OpenSSL PMD RSA verify implementation overrides application passed
sign input by decrypted output which isn't expected.

This patch addresses this issue in OpenSSL PMD. Now, OpenSSL PMD use tmp 
buffer to store sign operation decrypted output and test application to 
only check for STATUS_SUCCESS/FAILURE.

Signed-off-by: Ayuj Verma <ayuj.verma@caviumnetworks.com>
Signed-off-by: Akash Saxena <akash.saxena@caviumnetworks.com>
Signed-off-by: Shally Verma <shally.verma@caviumnetworks.com>

---
Akash Saxena (2):
  crypto/openssl: changes for RSA verify operation
  test/crypto: check for operation status only at output of RSA verify
    crypto operation

 drivers/crypto/openssl/rte_openssl_pmd.c | 20 +++++++++++++-------
 test/test/test_cryptodev_asym.c          |  9 ++++++---
 2 files changed, 19 insertions(+), 10 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-10-24 13:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-11 13:43 [dpdk-dev] [PATCH v1 0/2] Changes for RSA verify operation in OpenSSL PMD and unit tests Akash Saxena
2018-10-11 13:43 ` [dpdk-dev] [PATCH v1 1/2] crypto/openssl: changes for RSA verify operation Akash Saxena
2018-10-16 13:15   ` Akhil Goyal
2018-10-16 13:17   ` Akhil Goyal
2018-10-11 13:43 ` [dpdk-dev] [PATCH v1 2/2] test/crypto: remove data verification at rsa " Akash Saxena
2018-10-16 13:21   ` Akhil Goyal
2018-10-22 12:29     ` Verma, Shally
2018-10-24 13:09       ` 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).