improve check config option for i386

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-08-10 13:36:32 +08:00
parent ba42b076f9
commit 13696bb07b
3 changed files with 5 additions and 10 deletions

View file

@ -412,10 +412,6 @@
#error "MBEDTLS_MEMORY_DEBUG defined, but not all prerequisites"
#endif
#if defined(MBEDTLS_PADLOCK_C) && !defined(MBEDTLS_HAVE_ASM)
#error "MBEDTLS_PADLOCK_C defined, but not all prerequisites"
#endif
#if defined(MBEDTLS_PEM_PARSE_C) && !defined(MBEDTLS_BASE64_C)
#error "MBEDTLS_PEM_PARSE_C defined, but not all prerequisites"
#endif

View file

@ -47,11 +47,14 @@
#endif
#endif
#if defined(MBEDTLS_HAVE_ASM) && defined(__i386__) && \
!defined(MBEDTLS_HAVE_ASAN)
#if defined(__i386__)
#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
#error "MBEDTLS_AES_USE_HARDWARE_ONLY not supported yet for i386."
#endif
#if defined(MBEDTLS_PADLOCK_C) && !defined(MBEDTLS_HAVE_ASM)
#error "MBEDTLS_PADLOCK_C defined, but not all prerequisites"
#endif
#endif
#if defined(MBEDTLS_PADLOCK_C)

View file

@ -33,10 +33,6 @@
#if defined(MBEDTLS_HAVE_X86)
#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
#error "MBEDTLS_PADLOCK_C defined, but not all prerequisites"
#endif
/*
* PadLock detection routine
*/