From 6dff93ff9b7d7b6f0817f63d4aace0fb4531c94c Mon Sep 17 00:00:00 2001 From: John Durkop Date: Fri, 23 Oct 2020 01:22:58 -0700 Subject: [PATCH] Ensure dependent features also included by config_psa.h When the PSA crypto features need to be setup based on the PSA_WANT_xxx macros, the dependent features also need to be enabled. This change corrects that for the MBEDTLS_ECDSA_DETERMINISTIC. Signed-off-by: John Durkop --- include/mbedtls/config_psa.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/mbedtls/config_psa.h b/include/mbedtls/config_psa.h index 9a1a1efba..d9cc4018b 100644 --- a/include/mbedtls/config_psa.h +++ b/include/mbedtls/config_psa.h @@ -51,6 +51,8 @@ extern "C" { #if !defined(MBEDTLS_PSA_ACCEL_ALG_DETERMINISTIC_ECDSA) #define MBEDTLS_PSA_BUILTIN_ALG_DETERMINISTIC_ECDSA 1 #define MBEDTLS_ECDSA_DETERMINISTIC +#define MBEDTLS_HMAC_DRBG_C +#define MBEDTLS_MD_C #endif /* MBEDTLS_PSA_ACCEL_ALG_DETERMINISTIC_ECDSA */ #endif /* PSA_WANT_ALG_DETERMINISTIC_ECDSA */