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

@ -4946,7 +4946,7 @@ component_test_aes_builtin_only () {
scripts/config.py unset MBEDTLS_AESNI_C
scripts/config.py unset MBEDTLS_PADLOCK_C
scripts/config.py unset MBEDTLS_AESCE_C
scripts/config.py unset MBEDTLS_AES_HAS_NO_PLAIN_C
scripts/config.py unset MBEDTLS_AES_DONT_USE_SOFTWARE_CRYPTO
msg "build: make, AES built-in only" # ~10s
make
@ -4959,7 +4959,7 @@ component_test_aes_aesni_only () {
scripts/config.py set MBEDTLS_AESNI_C
scripts/config.py unset MBEDTLS_PADLOCK_C
scripts/config.py unset MBEDTLS_AESCE_C
scripts/config.py set MBEDTLS_AES_HAS_NO_PLAIN_C
scripts/config.py set MBEDTLS_AES_DONT_USE_SOFTWARE_CRYPTO
msg "build: AESNI only" # ~10s
make
@ -4972,7 +4972,7 @@ component_test_aes_padlock_only () {
scripts/config.py unset MBEDTLS_AESNI_C
scripts/config.py set MBEDTLS_PADLOCK_C
scripts/config.py unset MBEDTLS_AESCE_C
scripts/config.py set MBEDTLS_AES_HAS_NO_PLAIN_C
scripts/config.py set MBEDTLS_AES_DONT_USE_SOFTWARE_CRYPTO
msg "build: AES, VIA padlock only" # ~10s
make CC=gcc CFLAGS="$ASAN_CFLAGS -m32 -O2" LDFLAGS="-m32 $ASAN_CFLAGS"