From b59c0ba81bb80f7f127d72241a9be238b3293a7f Mon Sep 17 00:00:00 2001 From: Thomas Daubney Date: Wed, 24 Jul 2024 18:10:24 +0100 Subject: [PATCH] Alter guarding in aes.c Signed-off-by: Thomas Daubney --- tf-psa-crypto/drivers/builtin/src/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tf-psa-crypto/drivers/builtin/src/aes.c b/tf-psa-crypto/drivers/builtin/src/aes.c index 651282b0d9..40370c29fc 100644 --- a/tf-psa-crypto/drivers/builtin/src/aes.c +++ b/tf-psa-crypto/drivers/builtin/src/aes.c @@ -44,7 +44,7 @@ * This is a convenience shorthand macro to check if we need reverse S-box and * reverse tables. It's private and only defined in this file. */ -#if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY) && !defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT) +#if !defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT) #define MBEDTLS_AES_NEED_REVERSE_TABLES #endif