diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 73191b64d..2412c60f1 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -2046,7 +2046,9 @@ component_test_psa_crypto_config_accel_ecdsa_use_psa () { scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_STREAM_CIPHER scripts/config.py -f include/psa/crypto_config.h unset PSA_WANT_ALG_ECB_NO_PADDING - # SHA384 needed for some ECDSA signature tests. + # All SHA-2 variants are needed for ECDSA signature tests, + # but only SHA-256 is enabled by default, so enable the others. + scripts/config.py -f tests/include/test/drivers/config_test_driver.h set MBEDTLS_SHA224_C scripts/config.py -f tests/include/test/drivers/config_test_driver.h set MBEDTLS_SHA384_C scripts/config.py -f tests/include/test/drivers/config_test_driver.h set MBEDTLS_SHA512_C