Tests for AES encypt only

This commit is contained in:
Arto Kinnunen 2019-10-16 14:23:14 +03:00
parent 1480444e8e
commit c0a8bd40fc
10 changed files with 804 additions and 708 deletions

View file

@ -1275,6 +1275,15 @@ component_test_aes_only_128_bit_keys () {
make test
}
component_test_aes_only_encrypt () {
msg "build: default config with MBEDTLS_AES_ONLY_ENCRYPT enabled"
scripts/config.pl set MBEDTLS_AES_ONLY_ENCRYPT
make CC=gcc CFLAGS='-Werror -Wall -Wextra'
msg "test: AES_ONLY_128_BIT_KEY_LENGTH"
make test
}
component_test_aes_fewer_tables_and_rom_tables () {
msg "build: default config with AES_ROM_TABLES and AES_FEWER_TABLES enabled"
scripts/config.pl set MBEDTLS_AES_FEWER_TABLES