mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
Include psa/build_info.h instead of mbedtls/build_info.h
In PSA headers include psa/build_info.h instead of mbedtls/build_info.h. In Mbed TLS, both are equivalent but not in TF-PSA-Crypto where psa/build_info.h is the correct one. Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
070e8652d5
commit
7871cb14a7
@ -35,7 +35,7 @@
|
|||||||
#include "mbedtls/private_access.h"
|
#include "mbedtls/private_access.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Include the build-time configuration information file. Here, we do not
|
* Include the build-time configuration information header. Here, we do not
|
||||||
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
||||||
* is basically just an alias to it. This is to ease the maintenance of the
|
* is basically just an alias to it. This is to ease the maintenance of the
|
||||||
* TF-PSA-Crypto repository which has a different build system and
|
* TF-PSA-Crypto repository which has a different build system and
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
#define PSA_CRYPTO_SIZES_H
|
#define PSA_CRYPTO_SIZES_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Include the build-time configuration information file. Here, we do not
|
* Include the build-time configuration information header. Here, we do not
|
||||||
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
||||||
* is basically just an alias to it. This is to ease the maintenance of the
|
* is basically just an alias to it. This is to ease the maintenance of the
|
||||||
* TF-PSA-Crypto repository which has a different build system and
|
* TF-PSA-Crypto repository which has a different build system and
|
||||||
|
@ -66,9 +66,14 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Include the Mbed TLS configuration file, the way Mbed TLS does it
|
/*
|
||||||
* in each of its header files. */
|
* Include the build-time configuration information header. Here, we do not
|
||||||
#include "mbedtls/build_info.h"
|
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
||||||
|
* is basically just an alias to it. This is to ease the maintenance of the
|
||||||
|
* TF-PSA-Crypto repository which has a different build system and
|
||||||
|
* configuration.
|
||||||
|
*/
|
||||||
|
#include "psa/build_info.h"
|
||||||
|
|
||||||
/* Include the context definition for the compiled-in drivers for the primitive
|
/* Include the context definition for the compiled-in drivers for the primitive
|
||||||
* algorithms. */
|
* algorithms. */
|
||||||
|
@ -33,8 +33,15 @@
|
|||||||
#ifndef PSA_CRYPTO_TYPES_H
|
#ifndef PSA_CRYPTO_TYPES_H
|
||||||
#define PSA_CRYPTO_TYPES_H
|
#define PSA_CRYPTO_TYPES_H
|
||||||
|
|
||||||
/* Make sure the Mbed TLS configuration is visible. */
|
/*
|
||||||
#include "mbedtls/build_info.h"
|
* Include the build-time configuration information header. Here, we do not
|
||||||
|
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
||||||
|
* is basically just an alias to it. This is to ease the maintenance of the
|
||||||
|
* TF-PSA-Crypto repository which has a different build system and
|
||||||
|
* configuration.
|
||||||
|
*/
|
||||||
|
#include "psa/build_info.h"
|
||||||
|
|
||||||
/* Define the MBEDTLS_PRIVATE macro. */
|
/* Define the MBEDTLS_PRIVATE macro. */
|
||||||
#include "mbedtls/private_access.h"
|
#include "mbedtls/private_access.h"
|
||||||
|
|
||||||
|
@ -21,7 +21,14 @@
|
|||||||
#ifndef PSA_CRYPTO_CORE_H
|
#ifndef PSA_CRYPTO_CORE_H
|
||||||
#define PSA_CRYPTO_CORE_H
|
#define PSA_CRYPTO_CORE_H
|
||||||
|
|
||||||
#include "mbedtls/build_info.h"
|
/*
|
||||||
|
* Include the build-time configuration information header. Here, we do not
|
||||||
|
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
||||||
|
* is basically just an alias to it. This is to ease the maintenance of the
|
||||||
|
* TF-PSA-Crypto repository which has a different build system and
|
||||||
|
* configuration.
|
||||||
|
*/
|
||||||
|
#include "psa/build_info.h"
|
||||||
|
|
||||||
#include "psa/crypto.h"
|
#include "psa/crypto.h"
|
||||||
#include "psa/crypto_se_driver.h"
|
#include "psa/crypto_se_driver.h"
|
||||||
|
@ -28,7 +28,14 @@
|
|||||||
#ifndef PSA_CRYPTO_INVASIVE_H
|
#ifndef PSA_CRYPTO_INVASIVE_H
|
||||||
#define PSA_CRYPTO_INVASIVE_H
|
#define PSA_CRYPTO_INVASIVE_H
|
||||||
|
|
||||||
#include "mbedtls/build_info.h"
|
/*
|
||||||
|
* Include the build-time configuration information header. Here, we do not
|
||||||
|
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
||||||
|
* is basically just an alias to it. This is to ease the maintenance of the
|
||||||
|
* TF-PSA-Crypto repository which has a different build system and
|
||||||
|
* configuration.
|
||||||
|
*/
|
||||||
|
#include "psa/build_info.h"
|
||||||
|
|
||||||
#include "psa/crypto.h"
|
#include "psa/crypto.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
@ -21,7 +21,14 @@
|
|||||||
#ifndef PSA_CRYPTO_SE_H
|
#ifndef PSA_CRYPTO_SE_H
|
||||||
#define PSA_CRYPTO_SE_H
|
#define PSA_CRYPTO_SE_H
|
||||||
|
|
||||||
#include "mbedtls/build_info.h"
|
/*
|
||||||
|
* Include the build-time configuration information header. Here, we do not
|
||||||
|
* include `"mbedtls/build_info.h"` directly but `"psa/build_info.h"`, which
|
||||||
|
* is basically just an alias to it. This is to ease the maintenance of the
|
||||||
|
* TF-PSA-Crypto repository which has a different build system and
|
||||||
|
* configuration.
|
||||||
|
*/
|
||||||
|
#include "psa/build_info.h"
|
||||||
|
|
||||||
#include "psa/crypto.h"
|
#include "psa/crypto.h"
|
||||||
#include "psa/crypto_se_driver.h"
|
#include "psa/crypto_se_driver.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user