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:
@ -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
|
||||
|
Reference in New Issue
Block a user