Rename plain c disable option

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu 2023-04-18 11:19:54 +08:00
parent 2f26a59910
commit 315fd30201
9 changed files with 12 additions and 12 deletions

View file

@ -99,7 +99,7 @@
#include <sys/auxv.h>
#endif
#if !defined(MBEDTLS_AES_HAS_NO_BUILTIN)
#if !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
/*
* AES instruction support detection routine
*/

View file

@ -47,7 +47,7 @@ extern "C" {
*
* \return 1 if CPU has support for the feature, 0 otherwise
*/
#if !defined(MBEDTLS_AES_HAS_NO_BUILTIN)
#if !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
int mbedtls_aesce_has_support(void);
#else
#define /* no-check-names */ mbedtls_aesce_has_support() 1

View file

@ -39,7 +39,7 @@
#include <immintrin.h>
#endif
#if !defined(MBEDTLS_AES_HAS_NO_BUILTIN)
#if !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
/*
* AES-NI support detection routine
*/
@ -69,7 +69,7 @@ int mbedtls_aesni_has_support(unsigned int what)
return (c & what) != 0;
}
#endif /* !MBEDTLS_AES_HAS_NO_BUILTIN */
#endif /* !MBEDTLS_AES_HAS_NO_PLAIN_C */
#if MBEDTLS_AESNI_HAVE_CODE == 2

View file

@ -88,7 +88,7 @@ extern "C" {
*
* \return 1 if CPU has support for the feature, 0 otherwise
*/
#if !defined(MBEDTLS_AES_HAS_NO_BUILTIN)
#if !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
int mbedtls_aesni_has_support(unsigned int what);
#else
#define /* no-check-names */ mbedtls_aesni_has_support(what) 1

View file

@ -33,7 +33,7 @@
#if defined(MBEDTLS_HAVE_X86)
#if !defined(MBEDTLS_AES_HAS_NO_BUILTIN)
#if !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
/*
* PadLock detection routine
*/

View file

@ -68,7 +68,7 @@ extern "C" {
*
* \return non-zero if CPU has support for the feature, 0 otherwise
*/
#if !defined(MBEDTLS_AES_HAS_NO_BUILTIN)
#if !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
int mbedtls_padlock_has_support(int feature);
#else
#define /* no-check-names */ mbedtls_padlock_has_support(feature) 1