Skip to content

Commit

Permalink
test/crypto: fix typo in ESN case
Browse files Browse the repository at this point in the history
[ upstream commit 5da550e ]

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: 6997419 ("test/crypto: add case for auth only trailer")

Signed-off-by: Rebecca Troy <rebecca.troy@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
  • Loading branch information
beckyet19 authored and cpaelzer committed Aug 9, 2021
1 parent 0fc9a81 commit 8d9d3a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/test/test_cryptodev.c
Expand Up @@ -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)
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 8d9d3a4

Please sign in to comment.