From 0815c67ce153db7641d388ffea3a9856fcc8b461 Mon Sep 17 00:00:00 2001 From: Ronald Cron Date: Sat, 12 Apr 2025 11:52:18 +0200 Subject: [PATCH] programs: pkey: Use tf-psa-crypto/build_info.h pkey programs are crypto programs (only linked to the TF-PSA-Crypto library) thus use the TF-PSA-Crypto build-time configuration info file tf-psa-crypto/build_info.h instead of the Mbed TLS one. Signed-off-by: Ronald Cron --- programs/pkey/gen_key.c | 2 +- programs/pkey/pk_sign.c | 2 +- programs/pkey/pk_verify.c | 2 +- programs/pkey/rsa_sign_pss.c | 2 +- programs/pkey/rsa_verify_pss.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/programs/pkey/gen_key.c b/programs/pkey/gen_key.c index f1ed511241..4d329f2db0 100644 --- a/programs/pkey/gen_key.c +++ b/programs/pkey/gen_key.c @@ -7,7 +7,7 @@ #define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS -#include "mbedtls/build_info.h" +#include "tf-psa-crypto/build_info.h" #include "mbedtls/platform.h" diff --git a/programs/pkey/pk_sign.c b/programs/pkey/pk_sign.c index 92d96608e3..1598986f6e 100644 --- a/programs/pkey/pk_sign.c +++ b/programs/pkey/pk_sign.c @@ -7,7 +7,7 @@ #define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS -#include "mbedtls/build_info.h" +#include "tf-psa-crypto/build_info.h" #include "mbedtls/platform.h" /* md.h is included this early since MD_CAN_XXX macros are defined there. */ diff --git a/programs/pkey/pk_verify.c b/programs/pkey/pk_verify.c index 8ae612bdf6..d9e3bf1ee3 100644 --- a/programs/pkey/pk_verify.c +++ b/programs/pkey/pk_verify.c @@ -7,7 +7,7 @@ #define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS -#include "mbedtls/build_info.h" +#include "tf-psa-crypto/build_info.h" #include "mbedtls/platform.h" /* md.h is included this early since MD_CAN_XXX macros are defined there. */ diff --git a/programs/pkey/rsa_sign_pss.c b/programs/pkey/rsa_sign_pss.c index a5e06fb197..94333ae54c 100644 --- a/programs/pkey/rsa_sign_pss.c +++ b/programs/pkey/rsa_sign_pss.c @@ -7,7 +7,7 @@ #define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS -#include "mbedtls/build_info.h" +#include "tf-psa-crypto/build_info.h" #include "mbedtls/platform.h" /* md.h is included this early since MD_CAN_XXX macros are defined there. */ diff --git a/programs/pkey/rsa_verify_pss.c b/programs/pkey/rsa_verify_pss.c index 2bb140fe4e..19f92affb3 100644 --- a/programs/pkey/rsa_verify_pss.c +++ b/programs/pkey/rsa_verify_pss.c @@ -7,7 +7,7 @@ #define MBEDTLS_DECLARE_PRIVATE_IDENTIFIERS -#include "mbedtls/build_info.h" +#include "tf-psa-crypto/build_info.h" #include "mbedtls/platform.h" /* md.h is included this early since MD_CAN_XXX macros are defined there. */