Add tmp buffer to pass to OpenSSL sign API and memcmp output with
original plain text to verify signature match.
Set op->status = RTE_CRYPO_OP_STATUS_ERROR on signature mismatch.
Signed-off-by: Ayuj Verma
Signed-off-by: Akash Saxena
Signed-off-by: Shally Verma
---
drivers/crypto/open
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
Signed-off-by: Akash Saxena
Signed-off-by: Shally Verma
---
Change unit test app to check only for op->status =
RTE_CRYPTO_OP_STATUS_SUCCESS/ERROR instead of calling rsa_verify().
Signed-off-by: Ayuj Verma
Signed-off-by: Shally Verma
---
test/test/test_cryptodev_asym.c | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/test/tes
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/op
Change unit test app to check only for op->status =
RTE_CRYPTO_OP_STATUS_SUCCESS/ERROR instead of calling rsa_verify().
Signed-off-by: Ayuj Verma
Signed-off-by: Akash Saxena
Signed-off-by: Shally Verma
---
test/test/test_cryptodev_asym.c | 9 ++---
1 file changed, 6 insertions(+)
Add tmp buffer to pass to OpenSSL sign API and memcmp output with
original plain text to verify signature match.
Set op->status = RTE_CRYPO_OP_STATUS_ERROR on signature mismatch.
Signed-off-by: Ayuj Verma
Signed-off-by: Akash Saxena
Signed-off-by: Shally Verma
---
drivers/crypto/open
Remove if() condition prior to calling BN_free() as
BN_free(a) does nothing if a is NULL.
Signed-off-by: Akash Saxena
Signed-off-by: Shally Verma
---
drivers/crypto/openssl/rte_openssl_pmd.c | 21 +
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 45
7 matches
Mail list logo