From a8e30d8c60bd06267d710acb3766bb0cf3861cce Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 23 Oct 2024 16:58:21 +0100 Subject: [PATCH] Harmonise names of MBEDTLS_TEST_HAVE_ macros ACCEL is better than ALT as the ALT interfaces are going away. Signed-off-by: David Horstmann --- tests/include/test/psa_crypto_helpers.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/include/test/psa_crypto_helpers.h b/tests/include/test/psa_crypto_helpers.h index 9d5da02488..986221e092 100644 --- a/tests/include/test/psa_crypto_helpers.h +++ b/tests/include/test/psa_crypto_helpers.h @@ -258,15 +258,15 @@ uint64_t mbedtls_test_parse_binary_string(data_t *bin_string); #if defined(MBEDTLS_AES_ALT) || \ defined(MBEDTLS_AES_SETKEY_ENC_ALT) || \ defined(MBEDTLS_PSA_ACCEL_KEY_TYPE_AES) -#define MBEDTLS_TEST_HAVE_ALT_AES 1 +#define MBEDTLS_TEST_HAVE_ACCEL_AES 1 #else -#define MBEDTLS_TEST_HAVE_ALT_AES 0 +#define MBEDTLS_TEST_HAVE_ACCEL_AES 0 #endif #define MBEDTLS_TEST_PSA_SKIP_IF_ALT_AES_192(key_type, key_bits) \ do \ { \ - if ((MBEDTLS_TEST_HAVE_ALT_AES) && \ + if ((MBEDTLS_TEST_HAVE_ACCEL_AES) && \ ((key_type) == PSA_KEY_TYPE_AES) && \ (key_bits == 192)) \ { \