File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -920,6 +920,43 @@ component_test_aes_fewer_tables_and_rom_tables () {
920920 make test
921921}
922922
923+ component_test_ctr_drbg_aes_256_sha_256 () {
924+ msg " build: full + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
925+ scripts/config.pl full
926+ scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
927+ scripts/config.pl set MBEDTLS_ENTROPY_FORCE_SHA256
928+ CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
929+ make
930+
931+ msg " test: full + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
932+ make test
933+ }
934+
935+ component_test_ctr_drbg_aes_128_sha_512 () {
936+ msg " build: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY (ASan build)"
937+ scripts/config.pl full
938+ scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
939+ scripts/config.pl set MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
940+ CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
941+ make
942+
943+ msg " test: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY (ASan build)"
944+ make test
945+ }
946+
947+ component_test_ctr_drbg_aes_128_sha_256 () {
948+ msg " build: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
949+ scripts/config.pl full
950+ scripts/config.pl unset MBEDTLS_MEMORY_BUFFER_ALLOC_C
951+ scripts/config.pl set MBEDTLS_CTR_DRBG_USE_128_BIT_KEY
952+ scripts/config.pl set MBEDTLS_ENTROPY_FORCE_SHA256
953+ CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
954+ make
955+
956+ msg " test: full + MBEDTLS_CTR_DRBG_USE_128_BIT_KEY + MBEDTLS_ENTROPY_FORCE_SHA256 (ASan build)"
957+ make test
958+ }
959+
923960component_test_se_default () {
924961 msg " build: default config + MBEDTLS_PSA_CRYPTO_SE_C"
925962 scripts/config.py set MBEDTLS_PSA_CRYPTO_SE_C
You can’t perform that action at this time.
0 commit comments