revert padlock from aesni module
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
parent
61fc5ed5f3
commit
0a6272d6c9
2 changed files with 2 additions and 4 deletions
|
@ -39,8 +39,7 @@
|
|||
#include <immintrin.h>
|
||||
#endif
|
||||
|
||||
#if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY) || \
|
||||
(defined(MBEDTLS_HAVE_X86) && defined(MBEDTLS_PADLOCK_C))
|
||||
#if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
|
||||
/*
|
||||
* AES-NI support detection routine
|
||||
*/
|
||||
|
|
|
@ -100,8 +100,7 @@ extern "C" {
|
|||
*
|
||||
* \return 1 if CPU has support for the feature, 0 otherwise
|
||||
*/
|
||||
#if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY) || \
|
||||
(defined(MBEDTLS_HAVE_X86) && defined(MBEDTLS_PADLOCK_C))
|
||||
#if !defined(MBEDTLS_AES_USE_HARDWARE_ONLY)
|
||||
int mbedtls_aesni_has_support(unsigned int what);
|
||||
#else
|
||||
#define mbedtls_aesni_has_support(what) 1
|
||||
|
|
Loading…
Reference in a new issue