Jamie Fox | 0e54ebc | 2019-04-09 14:21:04 +0100 | [diff] [blame] | 1 | /* |
Jamie Fox | 98ab441 | 2020-01-17 17:12:30 +0000 | [diff] [blame] | 2 | * Copyright (c) 2019-2020, Arm Limited. All rights reserved. |
Jamie Fox | 0e54ebc | 2019-04-09 14:21:04 +0100 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #ifndef __TFM_MBEDCRYPTO_INCLUDE_H__ |
| 9 | #define __TFM_MBEDCRYPTO_INCLUDE_H__ |
| 10 | |
Jamie Fox | 98ab441 | 2020-01-17 17:12:30 +0000 | [diff] [blame] | 11 | /* Define PSA_CRYPTO_SECURE to signal that we are compiling for the SPE */ |
| 12 | #define PSA_CRYPTO_SECURE 1 |
Jamie Fox | 0e54ebc | 2019-04-09 14:21:04 +0100 | [diff] [blame] | 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" |
Jamie Fox | 0e54ebc | 2019-04-09 14:21:04 +0100 | [diff] [blame] | 18 | |
| 19 | #endif /* __TFM_MBEDCRYPTO_INCLUDE_H__ */ |