test/crypto: fix return value from session
PATCH 1/1 test/crypto: fix return value from session
Fixing return value if session failure occurs
due to unsupported feature.
--- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
app/test/test_cryptodev.c +2 -2
@@ -8778,7 +8778,7 @@ test_authenticated_encryption(const struct aead_test_data *tdata) tdata->key.data, tdata->key.len, tdata->aad.len, tdata->auth_tag.len, tdata->iv.len); -if (retval <0 ) +if (retval !=TEST_SUCCESS )return retval;if (tdata->aad.len >MBUF_SIZE ) {
@@ -11482,7 +11482,7 @@ test_authenticated_decryption(const struct aead_test_data *tdata) tdata->key.data, tdata->key.len, tdata->aad.len, tdata->auth_tag.len, tdata->iv.len); -if (retval <0 ) +if (retval !=TEST_SUCCESS )return retval;/* alloc mbuf and set payload */
Signature · 1 line
2.25.1
Quoted 8 lines
Fixing return value if session failure occurs due to unsupported feature.
Fixes eec136f3c54f ("aesni_gcm: add driver for AES-GCM cryptooperations")
Cc: [email protected]Signed-off-by Tejasree Kondoj <[email protected]>
Quoted 16 lines
-----Original Message-----
From: Tejasree Kondoj <[email protected]>
Sent: Friday 5 May 2023 17:54
To: Akhil Goyal <[email protected]>; Fan Zhang <[email protected]>
Cc: Anoob Joseph <[email protected]>; Power, Ciara <[email protected]>; Jerin Jacob <[email protected]>; Aakash Sasidharan <[email protected]>; Gowrishankar Muthukrishnan <[email protected]>; Vidya Sagar Velumuri <[email protected]>; [email protected]; [email protected]
Subject: [PATCH] test/crypto: fix return value from sessionFixing return value if session failure occurs due to unsupported feature.
Quoted 9 lines
Fixes eec136f3c54f ("aesni_gcm: add driver for AES-GCM cryptooperations")
Cc: [email protected]Signed-off-by Tejasree Kondoj <[email protected]>--- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Akhil Goyal
AppliedQuoted 8 lines
Quoted 8 lines
Subject: [PATCH] test/crypto: fix return value from session
Fixing return value if session failure occurs due to unsupported feature.
Fixes eec136f3c54f ("aesni_gcm: add driver for AES-GCM cryptooperations")
Cc: [email protected]
Quoted 7 lines
Quoted 5 lines
Signed-off-by Tejasree Kondoj <[email protected]>--- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Acked-by Ciara Power <[email protected]>
Applied to dpdk-next-crypto
Thanks.