[dpdk-dev] [PATCH v2 0/2] Changes for RSA verify operation in OpenSSL PMD and unit tests

Akhil Goyal akhil.goyal at nxp.com
Fri Nov 2 12:44:34 CET 2018



On 10/25/2018 3:30 PM, Akash Saxena wrote:
> v2:
> Added NULL check for tmp buffer allocation failure.
>
> v1:
> 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.
>
> ---
> Akash Saxena (2):
>    crypto/openssl: changes for RSA verify operation
>    test/crypto: remove data verification at rsa verify operation
>
>   drivers/crypto/openssl/rte_openssl_pmd.c | 22 +++++++++++++++-------
>   test/test/test_cryptodev_asym.c          |  9 ++++++---
>   2 files changed, 21 insertions(+), 10 deletions(-)
>
Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list