From 3dd1d3d1de0b0d97fb6aeef28768f06c59de3da0 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Thu, 5 Dec 2024 15:12:06 +0100 Subject: [PATCH] Fix test_sha3_variations Signed-off-by: Ronald Cron --- tests/scripts/components-configuration-crypto.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/scripts/components-configuration-crypto.sh b/tests/scripts/components-configuration-crypto.sh index f4d5f59c55..1d144e0c69 100644 --- a/tests/scripts/components-configuration-crypto.sh +++ b/tests/scripts/components-configuration-crypto.sh @@ -2301,11 +2301,6 @@ component_test_sha3_variations () { # define minimal config sufficient to test SHA3 cat > include/mbedtls/mbedtls_config.h << END - #define MBEDTLS_AES_C - #define MBEDTLS_CTR_DRBG_C - #define MBEDTLS_ENTROPY_C - #define MBEDTLS_PSA_CRYPTO_C - #define MBEDTLS_SELF_TEST END cat > tf-psa-crypto/include/psa/crypto_config.h << END @@ -2314,6 +2309,11 @@ END #define PSA_WANT_ALG_SHA3_256 1 #define PSA_WANT_ALG_SHA3_384 1 #define PSA_WANT_ALG_SHA3_512 1 + #define MBEDTLS_AES_C + #define MBEDTLS_CTR_DRBG_C + #define MBEDTLS_ENTROPY_C + #define MBEDTLS_PSA_CRYPTO_C + #define MBEDTLS_SELF_TEST END msg "all loops unrolled"