Skip to content

Commit

Permalink
all.sh: add test for AES-128bit only without MBEDTLS_CTR_DRBG_C
Browse files Browse the repository at this point in the history
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
  • Loading branch information
Yanray Wang committed May 5, 2023
1 parent 1ed226f commit 374c3ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/scripts/all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3459,6 +3459,18 @@ component_test_aes_only_128_bit_keys () {
make test
}

component_test_no_ctr_drbg_aes_only_128_bit_keys () {
msg "build: default config with AES_ONLY_128_BIT_KEY_LENGTH enabled and MBEDTLS_CTR_DRBG_C disabled"
scripts/config.py set MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
scripts/config.py unset MBEDTLS_CTR_DRBG_C
scripts/config.py unset MBEDTLS_PADLOCK_C

make CC=gcc CFLAGS='-Werror -Wall -Wextra'

msg "test: AES_ONLY_128_BIT_KEY_LENGTH without MBEDTLS_CTR_DRBG_C"
make test
}

component_test_aes_fewer_tables () {
msg "build: default config with AES_FEWER_TABLES enabled"
scripts/config.py set MBEDTLS_AES_FEWER_TABLES
Expand Down

0 comments on commit 374c3ae

Please sign in to comment.