TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_mbedcrypto_include.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __TFM_MBEDCRYPTO_INCLUDE_H__
9 #define __TFM_MBEDCRYPTO_INCLUDE_H__
10 
11 /* Define PSA_CRYPTO_SECURE to signal that we are compiling for the SPE */
12 #define PSA_CRYPTO_SECURE 1
13 /* Include the crypto_spe.h header before including the PSA Crypto header from
14  * Mbed Crypto
15  */
16 #include "crypto_spe.h"
17 #include "mbedcrypto/psa/crypto.h"
18 
19 #endif /* __TFM_MBEDCRYPTO_INCLUDE_H__ */
When Mbed Crypto is built with the MBEDTLS_PSA_CRYPTO_SPM option enabled, this header is included by ...