Alter guarding in aes.c

Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This commit is contained in:
Thomas Daubney 2024-07-24 18:10:24 +01:00
parent 2dd830d3c2
commit b59c0ba81b

View File

@ -44,7 +44,7 @@
* This is a convenience shorthand macro to check if we need reverse S-box and * 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. * 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 #define MBEDTLS_AES_NEED_REVERSE_TABLES
#endif #endif