From a67f1beb46d3abd76d93f5e203513ebf5e44d8c3 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Thu, 23 May 2024 15:50:27 +0200 Subject: [PATCH] Adapt test_crypto_full_md_light_only Adapt test_crypto_full_md_light_only with MBEDTLS_PSA_CRYPTO_CONFIG enabled. No need to disable PSA_WANT_ALG_HKDF as the PSA implementation of HKDF is independent of hkdf.c and thus of MAC through md.c. Signed-off-by: Ronald Cron --- tests/scripts/all.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 1328eebfec..7820aa11b4 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1689,7 +1689,7 @@ component_full_no_pkparse_pkwrite() { component_test_crypto_full_md_light_only () { msg "build: crypto_full with only the light subset of MD" scripts/config.py crypto_full - scripts/config.py unset MBEDTLS_PSA_CRYPTO_CONFIG + # Disable MD scripts/config.py unset MBEDTLS_MD_C # Disable direct dependencies of MD_C @@ -1698,6 +1698,7 @@ component_test_crypto_full_md_light_only () { scripts/config.py unset MBEDTLS_PKCS7_C # Disable indirect dependencies of MD_C scripts/config.py unset MBEDTLS_ECDSA_DETERMINISTIC # needs HMAC_DRBG + scripts/config.py -f $CRYPTO_CONFIG_H unset PSA_WANT_ALG_DETERMINISTIC_ECDSA # Disable things that would auto-enable MD_C scripts/config.py unset MBEDTLS_PKCS5_C