From 78b17b67172c053a8d614daece38126c8d85e7f0 Mon Sep 17 00:00:00 2001 From: Jaeden Amero Date: Fri, 30 Apr 2021 09:16:00 +0100 Subject: [PATCH] tfm: Add mbedtls_ecc_group_to_psa.h to crypto_extra.h Include mbedtls_ecc_group_to_psa.h from crypto_extra.h so that clients of PSA within Mbed OS do not need to behave differently depending on which PSA implementation they are using. This solution is not ideal as it makes it more difficult to update the TF-M-provided psa/crypto_extra.h. We'll have to see what other options we have for including additional headers based on the Mbed OS configuration. --- .../TARGET_TFM/TARGET_TFM_LATEST/include/psa/crypto_extra.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/include/psa/crypto_extra.h b/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/include/psa/crypto_extra.h index b8a4d7e36c..ebeefa26e9 100644 --- a/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/include/psa/crypto_extra.h +++ b/platform/FEATURE_EXPERIMENTAL_API/FEATURE_PSA/TARGET_TFM/TARGET_TFM_LATEST/include/psa/crypto_extra.h @@ -57,6 +57,8 @@ extern "C" { /**@}*/ +#include "mbedtls_ecc_group_to_psa.h" + #ifdef __cplusplus } #endif