add hardware only check for padlock
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
9e628621b4
commit
1b4c7eda80
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@
|
|||
#error "MBEDTLS_AES_USE_HARDWARE_ONLY defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
#if defined(MBEDTLS_PADLOCK_C) && !defined(MBEDTLS_HAVE_ASM)
|
||||
#if defined(MBEDTLS_PADLOCK_C) && \
|
||||
(!defined(MBEDTLS_HAVE_ASM) || defined(MBEDTLS_AES_USE_HARDWARE_ONLY))
|
||||
#error "MBEDTLS_PADLOCK_C defined, but not all prerequisites"
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue