From c410ccc5281532c41054d7c034f129a1b5f7f3d8 Mon Sep 17 00:00:00 2001 From: Przemek Stekiel Date: Thu, 18 Aug 2022 10:51:31 +0200 Subject: [PATCH] Include psa/crypto.h in legacy_or_psa.h It is needed for PSA_WANT_ALG_xxxx symbols *** Comparing before-default -> after-default *** x509parse: total 723; skipped 26 -> 26 x509write: total 41; skipped 8 -> 8 pem: total 13; skipped 0 -> 0 oid: total 28; skipped 0 -> 0 *** Comparing before-full -> after-full *** x509parse: total 723; skipped 25 -> 25 x509write: total 41; skipped 0 -> 0 pem: total 13; skipped 0 -> 0 oid: total 28; skipped 0 -> 0 *** Comparing reference -> drivers *** x509parse: total 723; skipped 89 -> 89 x509write: total 41; skipped 3 -> 3 pem: total 13; skipped 0 -> 0 oid: total 28; skipped 0 -> 0 Signed-off-by: Przemek Stekiel --- library/legacy_or_psa.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/legacy_or_psa.h b/library/legacy_or_psa.h index 84fc20659..be0f33f82 100644 --- a/library/legacy_or_psa.h +++ b/library/legacy_or_psa.h @@ -90,6 +90,9 @@ #define MBEDTLS_OR_PSA_HELPERS_H #include "common.h" +#if defined(MBEDTLS_PSA_CRYPTO_C) +#include "psa/crypto.h" +#endif /* MBEDTLS_PSA_CRYPTO_C */ /* * Hashes