Update AES 128-key test

- Unset MBEDTLS_PADLOCK_C in aes_only_128_bit_keys test to get RAM
  optimised version tested
- Use compiler flag "-O1" instead of "-Wall -Wextra" to see warnings
This commit is contained in:
Arto Kinnunen 2019-10-21 10:24:05 +03:00
parent 5ed870da72
commit 4c003ca80c

View File

@ -1267,7 +1267,9 @@ component_test_aes_only_128_bit_keys () {
msg "build: default config with AES_ONLY_128_BIT_KEY_LENGTH enabled"
scripts/config.pl set MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
scripts/config.pl set MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
make CC=gcc CFLAGS='-Werror -Wall -Wextra'
scripts/config.pl unset MBEDTLS_PADLOCK_C
make CC=gcc CFLAGS='-Werror -O1'
msg "test: AES_ONLY_128_BIT_KEY_LENGTH"
make test