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,