Force usage of MBEDTLS_PK_WRITE_C when PK_C and USE_PSA_CRYPTO is used

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2022-01-17 15:30:06 +01:00 committed by Andrzej Kurek
parent 77b8e098f9
commit 8d2864d6bc

View File

@ -74,6 +74,9 @@
#include MBEDTLS_USER_CONFIG_FILE
#endif
#if defined(MBEDTLS_PK_C) && defined(MBEDTLS_USE_PSA_CRYPTO)
#define MBEDTLS_PK_WRITE_C
#endif
#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
#include "mbedtls/config_psa.h"
#endif