diff --git a/tf-psa-crypto/tests/suites/test_suite_psa_crypto_entropy.function b/tf-psa-crypto/tests/suites/test_suite_psa_crypto_entropy.function index 24081638d..4d5eda2ba 100644 --- a/tf-psa-crypto/tests/suites/test_suite_psa_crypto_entropy.function +++ b/tf-psa-crypto/tests/suites/test_suite_psa_crypto_entropy.function @@ -8,10 +8,6 @@ #include "entropy_poll.h" /* Calculating the minimum allowed entropy size in bytes */ -#if !defined(MBEDTLS_ENTROPY_BLOCK_SIZE) -#define MBEDTLS_ENTROPY_BLOCK_SIZE MBEDTLS_ENTROPY_MIN_PLATFORM -#endif - #define MBEDTLS_PSA_INJECT_ENTROPY_MIN_SIZE MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, \ MBEDTLS_ENTROPY_BLOCK_SIZE) diff --git a/tf-psa-crypto/tests/suites/test_suite_psa_crypto_init.function b/tf-psa-crypto/tests/suites/test_suite_psa_crypto_init.function index c9a1e077d..954560a24 100644 --- a/tf-psa-crypto/tests/suites/test_suite_psa_crypto_init.function +++ b/tf-psa-crypto/tests/suites/test_suite_psa_crypto_init.function @@ -24,9 +24,6 @@ static int check_stats(void) exit: return 0; } -#if !defined(MBEDTLS_ENTROPY_BLOCK_SIZE) -#define MBEDTLS_ENTROPY_BLOCK_SIZE MBEDTLS_ENTROPY_MIN_PLATFORM -#endif #define ENTROPY_MIN_NV_SEED_SIZE \ MAX(MBEDTLS_ENTROPY_MIN_PLATFORM, MBEDTLS_ENTROPY_BLOCK_SIZE)