1 /*
2  * Copyright (c) 2023-2024, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __CONFIG_TFM_TARGET_H__
9 #define __CONFIG_TFM_TARGET_H__
10 
11 /* Use stored NV seed to provide entropy */
12 #define CRYPTO_NV_SEED                         0
13 
14 /* Use external RNG to provide entropy */
15 #define CRYPTO_EXT_RNG                         1
16 
17 /* Set the initial attestation token profile */
18 #undef ATTEST_TOKEN_PROFILE_PSA_IOT_1
19 #undef ATTEST_TOKEN_PROFILE_PSA_2_0_0
20 
21 #define ATTEST_TOKEN_PROFILE_ARM_CCA           1
22 
23 /* The stack size of the NS Agent Mailbox Secure Partition */
24 #define NS_AGENT_MAILBOX_STACK_SIZE            0x1000
25 
26 /* Run the scheduler after handling a secure interrupt if the NSPE was pre-empted */
27 #define CONFIG_TFM_SCHEDULE_WHEN_NS_INTERRUPTED 1
28 
29 #endif /* __CONFIG_TFM_TARGET_H__ */
30