mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
enable runtime detection when padlock enabled and plain c disabled
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
#include <immintrin.h>
|
||||
#endif
|
||||
|
||||
#if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
|
||||
#if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY) || \
|
||||
(defined(MBEDTLS_HAVE_X86) && defined(MBEDTLS_PADLOCK_C))
|
||||
/*
|
||||
* AES-NI support detection routine
|
||||
*/
|
||||
|
Reference in New Issue
Block a user