From 55687646c84239efc5ce58873b71bdbc2ef4a53f Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 12 Oct 2020 23:23:52 +0200 Subject: [PATCH] PSA_WANT_xxx needs to be defined in the old-style config mechanism Without MBEDTLS_PSA_CRYPTO_CONFIG, PSA_WANT_xxx needs to be defined, for the sake of code that calls the PSA API (TLS code, tests, sample apps). Signed-off-by: Gilles Peskine --- docs/proposed/psa-conditional-inclusion-c.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/proposed/psa-conditional-inclusion-c.md b/docs/proposed/psa-conditional-inclusion-c.md index 753aaf7b7..5212c59a3 100644 --- a/docs/proposed/psa-conditional-inclusion-c.md +++ b/docs/proposed/psa-conditional-inclusion-c.md @@ -5,7 +5,7 @@ This document is a proposed interface for deciding at build time which cryptogra This is currently a proposal for Mbed TLS. It is not currently on track for standardization in PSA. -Time-stamp: "2020/09/21 18:07:09 GMT" +Time-stamp: "2020/10/12 21:23:39 GMT" ## Introduction @@ -129,7 +129,7 @@ Symbols With `MBEDTLS_PSA_CRYPTO_CONFIG` Without `MBEDTLS_PS ------------------------- -------------------------------- ----------------------------------- `MBEDTLS_xxx_C` `mbedtls/config.h` (U) or `mbedtls/config.h` (U) `mbedtls/config_psa.h` (D) -`PSA_WANT_xxx` `psa/crypto_config.h` (U) N/A +`PSA_WANT_xxx` `psa/crypto_config.h` (U) `mbedtls/config_psa.h (D) `MBEDTLS_PSA_BUILTIN_xxx` `mbedtls/config_psa.h` (D) `mbedtls/config_psa.h` (D) `MBEDTLS_PSA_ACCEL_xxx` `mbedtls/crypto_drivers` (G) N/A ------------------------------------------------------------------------------------------------