1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

Rename HAS_NO_PLAIN_C to DONT_USE_SOFTWARE_CRYPTO

Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
This commit is contained in:
Jerry Yu
2023-04-18 15:57:16 +08:00
parent 1b3ab36b55
commit 3fcf2b5053
9 changed files with 15 additions and 15 deletions

View File

@ -47,7 +47,7 @@
#include <stdint.h>
#if !defined(MBEDTLS_PADLOCK_C) && !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
#if !defined(MBEDTLS_PADLOCK_C) && !defined(MBEDTLS_AES_DONT_USE_SOFTWARE_CRYPTO)
#error "MBEDTLS_AESCE_C defined, but not all prerequisites"
#endif
@ -72,7 +72,7 @@ extern "C" {
*
* \return non-zero if CPU has support for the feature, 0 otherwise
*/
#if !defined(MBEDTLS_AES_HAS_NO_PLAIN_C)
#if !defined(MBEDTLS_AES_DONT_USE_SOFTWARE_CRYPTO)
int mbedtls_padlock_has_support(int feature);
#else
#define /* no-check-names */ mbedtls_padlock_has_support(feature) 1