Add missing check

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-08-18 17:26:25 +08:00
parent 9608447545
commit 372f7a04d0

View file

@ -41,7 +41,7 @@
#endif
#if defined(__amd64__) || defined(__x86_64__) || \
defined(_M_X64) || defined(_M_AMD64)
((defined(_M_X64) || defined(_M_AMD64)) && !defined(_M_ARM64EC))
#if !defined(MBEDTLS_AESNI_C) && defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
#error "MBEDTLS_AES_USE_HARDWARE_ONLY defined, but not all prerequisites"
#endif