From 8d9d3a44d10bcd2b6cf1638af70819fa1585d0ed Mon Sep 17 00:00:00 2001 From: Rebecca Troy Date: Thu, 1 Jul 2021 10:39:09 +0000 Subject: [PATCH] test/crypto: fix typo in ESN case [ upstream commit 5da550e4408e03a7f06dfcfa9639ce969d141d73 ] Fixed typo in the crypto unit test ESN function name by replacing the word 'encryt' with the correct word 'encrypt'. test_authenticated_encryt_with_esn is now called test_authenticated_encrypt_with_esn. Fixes: 699741912d71 ("test/crypto: add case for auth only trailer") Signed-off-by: Rebecca Troy Acked-by: Hemant Agrawal --- app/test/test_cryptodev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 7686c7caec..42c573664b 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -11212,7 +11212,7 @@ test_authenticated_decryption_fail_when_corruption( } static int -test_authenticated_encryt_with_esn( +test_authenticated_encrypt_with_esn( struct crypto_testsuite_params *ts_params, struct crypto_unittest_params *ut_params, const struct test_crypto_vector *reference) @@ -11877,7 +11877,7 @@ auth_decryption_AES128CBC_HMAC_SHA1_fail_tag_corrupt(void) static int auth_encrypt_AES128CBC_HMAC_SHA1_esn_check(void) { - return test_authenticated_encryt_with_esn( + return test_authenticated_encrypt_with_esn( &testsuite_params, &unittest_params, &aes128cbc_hmac_sha1_aad_test_vector);