mbedtls/include/psa
Gilles Peskine bce4dc028f Include config_psa.h from psa/crypto.h
When the new PSA crypto configuration mechanism MBEDTLS_PSA_CRYPTO_CONFIG
is disabled, legacy configurations must keep working, even if they don't
include the new header file mbedtls/config_psa.h. Code that uses or
implements PSA crypto interfaces needs some of the symbols defined by the
new header file. Therefore, include the new header file via PSA crypto
headers, which are included everywhere mbedtls/config_psa.h is needed.

Include it early, in psa/crypto_platform.h, just after including
mbedtls/config.h, so that its symbols are available wherever the symbols
from mbedtls/config.h is available.

This fixes the unit tests with configs/config-psa-crypto.h: some unit
tests were failing, revealing that library features controlled with
the new symbols were no longer getting built.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2020-11-09 15:17:07 +01:00
..
crypto.h psa: Rename psa_key_file_id_t to mbedtls_svc_key_id_t 2020-09-02 14:27:07 +02:00
crypto_accel_driver.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_compat.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_config.h Correct use of MBEDTLS_PSA_BUILTIN_ALG_xxx in crypto library 2020-10-15 07:39:02 -07:00
crypto_driver_common.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_entropy_driver.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_extra.h Define always psa_key_id_t as defined in PSA crypto spec 2020-09-02 14:27:07 +02:00
crypto_platform.h Include config_psa.h from psa/crypto.h 2020-11-09 15:17:07 +01:00
crypto_se_driver.h Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
crypto_sizes.h Update support macros for IV/nonce sizes 2020-10-29 11:07:39 +01:00
crypto_struct.h Merge pull request #3527 from ronald-cron-arm/key-extended-id 2020-09-15 16:06:06 +02:00
crypto_types.h psa: Move key identifier related macros and functions 2020-09-15 08:50:20 +02:00
crypto_values.h Merge pull request #3527 from ronald-cron-arm/key-extended-id 2020-09-15 16:06:06 +02:00