From 266d1486be707522b4f388be9cb40c3a0035921e Mon Sep 17 00:00:00 2001 From: Harry Ramsey Date: Wed, 22 Jan 2025 10:43:31 +0000 Subject: [PATCH] Move Mbed TLS dependency macros to Mbed TLS This commit moves MBEDTLS_SSL_TLS_C, MBEDTLS_X509_USE_C and MBEDTLS_X509_CREATE_C from TF-PSA-Crypto to Mbed TLS where they more appropriately belong. Signed-off-by: Harry Ramsey --- include/mbedtls/mbedtls_config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h index 64bf7eeaadd2..e20ccfee14f5 100644 --- a/include/mbedtls/mbedtls_config.h +++ b/include/mbedtls/mbedtls_config.h @@ -1190,6 +1190,7 @@ * Module: library/x509_create.c * * Requires: MBEDTLS_BIGNUM_C, MBEDTLS_OID_C, MBEDTLS_PK_PARSE_C, + * MBEDTLS_MD_C * * \warning You must call psa_crypto_init() before doing any X.509 operation. * @@ -1321,7 +1322,8 @@ * library/x509_crt.c * library/x509_csr.c * - * Requires: MBEDTLS_ASN1_PARSE_C, MBEDTLS_BIGNUM_C, MBEDTLS_OID_C, MBEDTLS_PK_PARSE_C + * Requires: MBEDTLS_ASN1_PARSE_C, MBEDTLS_BIGNUM_C, MBEDTLS_OID_C, MBEDTLS_PK_PARSE_C, + * MBEDTLS_MD_C * * \warning You must call psa_crypto_init() before doing any X.509 operation. *