all.sh: add test for AES_ONLY_128_BIT_KEY_LENGTH

Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
Arto Kinnunen 2023-04-14 17:43:36 +08:00 committed by Yanray Wang
parent a87046704f
commit 3eb50e7d75

View File

@ -3448,6 +3448,18 @@ component_test_malloc_0_null () {
tests/ssl-opt.sh -e 'proxy' tests/ssl-opt.sh -e 'proxy'
} }
component_test_aes_only_128_bit_keys () {
msg "build: default config with AES_ONLY_128_BIT_KEY_LENGTH enabled"
scripts/config.py set MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
scripts/config.py set MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
scripts/config.py unset MBEDTLS_PADLOCK_C
make CC=gcc CFLAGS='-Werror -Wall -Wextra'
msg "test: AES_ONLY_128_BIT_KEY_LENGTH"
make test
}
component_test_aes_fewer_tables () { component_test_aes_fewer_tables () {
msg "build: default config with AES_FEWER_TABLES enabled" msg "build: default config with AES_FEWER_TABLES enabled"
scripts/config.py set MBEDTLS_AES_FEWER_TABLES scripts/config.py set MBEDTLS_AES_FEWER_TABLES