xref: /optee_os/ta/pkcs11/src/user_ta_header_defines.h (revision 7fb525f1f8a6709ba8adc89b1d2f2995dae26803)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2018-2019, Linaro Limited
4  */
5 
6 #ifndef USER_TA_HEADER_DEFINES_H
7 #define USER_TA_HEADER_DEFINES_H
8 
9 #include <pkcs11_ta.h>
10 
11 #define TA_UUID				PKCS11_TA_UUID
12 
13 #define TA_FLAGS			(TA_FLAG_SINGLE_INSTANCE | \
14 					 TA_FLAG_MULTI_SESSION | \
15 					 TA_FLAG_INSTANCE_KEEP_ALIVE)
16 
17 #define TA_STACK_SIZE			(4 * 1024)
18 #define TA_DATA_SIZE			(16 * 1024)
19 
20 #endif /*USER_TA_HEADER_DEFINES_H*/
21