From f279a66d82ed47db823f56c423c0f51eb2d38467 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 7 Jan 2022 11:13:38 +0100 Subject: [PATCH] tests/sys_crypto_aes_ccm: use CIPHER_AES instead of CIPHER_AES_128 --- tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-128.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-128.c b/tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-128.c index 5c06226c5b..85b019293d 100644 --- a/tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-128.c +++ b/tests/sys_crypto_aes_ccm/tests-crypto-modes-ccm-128.c @@ -2186,7 +2186,7 @@ static void test_encrypt_op(const uint8_t *key, uint8_t key_len, TEST_ASSERT_MESSAGE(sizeof(data) >= output_expected_len, "Output buffer too small"); - err = cipher_init(&cipher, CIPHER_AES_128, key, key_len); + err = cipher_init(&cipher, CIPHER_AES, key, key_len); TEST_ASSERT_EQUAL_INT(1, err); len = cipher_encrypt_ccm(&cipher, adata, adata_len, @@ -2214,7 +2214,7 @@ static void test_decrypt_op(const uint8_t *key, uint8_t key_len, TEST_ASSERT_MESSAGE(sizeof(data) >= output_expected_len, "Output buffer too small"); - err = cipher_init(&cipher, CIPHER_AES_128, key, key_len); + err = cipher_init(&cipher, CIPHER_AES, key, key_len); TEST_ASSERT_EQUAL_INT(1, err); len = cipher_decrypt_ccm(&cipher, adata, adata_len,