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 #define TA_DESCRIPTION "PKCS#11 trusted application" 21 #define TA_VERSION TO_STR(PKCS11_TA_VERSION_MAJOR) "." \ 22 TO_STR(PKCS11_TA_VERSION_MINOR) "." \ 23 TO_STR(PKCS11_TA_VERSION_PATCH) 24 25 #endif /*USER_TA_HEADER_DEFINES_H*/ 26