NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
tee_client_constants.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2010 GlobalPlatform Inc. All Rights Reserved.
3  * The technology provided or described herein is subject to updates, revisions,
4  * and extensions by GlobalPlatform. Use of this information is governed by the
5  * GlobalPlatform license agreement and any use inconsistent with that agreement
6  * is strictly prohibited
7  *
8  * Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
9  */
10 
18 #ifndef TEE_CLIENT_CONSTANTS_H
19 #define TEE_CLIENT_CONSTANTS_H
20 
21 #if defined(__cplusplus)
22 extern "C" {
23 #endif
24 
34 #define TEEC_SUCCESS 0x00000000U
35 
36 #define TEEC_ERROR_GENERIC 0xFFFF0000U
37 
38 #define TEEC_ERROR_ACCESS_DENIED 0xFFFF0001U
39 
40 #define TEEC_ERROR_CANCEL 0xFFFF0002U
41 
42 #define TEEC_ERROR_ACCESS_CONFLICT 0xFFFF0003U
43 /* Retrun value for excess data */
44 #define TEEC_ERROR_EXCESS_DATA 0xFFFF0004U
45 /* Retrun value for bad format */
46 #define TEEC_ERROR_BAD_FORMAT 0xFFFF0005U
47 
48 #define TEEC_ERROR_BAD_PARAMETERS 0xFFFF0006U
49 
50 #define TEEC_ERROR_BAD_STATE 0xFFFF0007U
51 
52 #define TEEC_ERROR_ITEM_NOT_FOUND 0xFFFF0008U
53 
54 #define TEEC_ERROR_NOT_IMPLEMENTED 0xFFFF0009U
55 
56 #define TEEC_ERROR_NOT_SUPPORTED 0xFFFF000AU
57 
58 #define TEEC_ERROR_NO_DATA 0xFFFF000BU
59 
60 #define TEEC_ERROR_OUT_OF_MEMORY 0xFFFF000CU
61 
62 #define TEEC_ERROR_BUSY 0xFFFF000DU
63 
64 #define TEEC_ERROR_COMMUNICATION 0xFFFF000EU
65 
66 #define TEEC_ERROR_SECURITY 0xFFFF000FU
67 
68 #define TEEC_ERROR_SHORT_BUFFER 0xFFFF0010U
69 
70 #define TEEC_ERROR_BLOCKED 0x00000001U
71 /* Return value for no answer */
72 #define TEEC_ERROR_NO_ANSWER 0x00000002U
73 
74 
75 
77 #define TEEC_NONE 0x00000000U
78 
79 #define TEEC_VALUE_INPUT 0x00000001U
80 
81 #define TEEC_VALUE_OUTPUT 0x00000003U
82 
83 #define TEEC_VALUE_INOUT 0x00000003U
84 
85 #define TEEC_MEMREF_TEMP_INPUT 0x00000005U
86 
87 #define TEEC_MEMREF_TEMP_OUTPUT 0x00000007U
88 
89 #define TEEC_MEMREF_TEMP_INOUT 0x00000007U
90 
92 #define TEEC_MEM_INPUT 0x00000001U
93 
94 #define TEEC_MEM_OUTPUT 0x00000002U
95 
97 #define TEEC_LOGIN_PUBLIC 0x00000000
98 
99 #define TEEC_LOGIN_USER 0x00000001
100 
101 #define TEEC_LOGIN_GROUP 0x00000002
102 
103 #define TEEC_LOGIN_APPLICATION 0x00000004
104 
105 #define TEEC_LOGIN_USER_APPLICATION 0x00000005
106 
107 #define TEEC_LOGIN_GROUP_APPLICATION 0x00000006
108 
109 
111 #define TEEC_ORIGIN_API 0x00000001
112 
113 #define TEEC_ORIGIN_COMMS 0x00000002
114 
115 #define TEEC_ORIGIN_TEE 0x00000003
116 
117 #define TEEC_ORIGIN_TRUSTED_APP 0x00000004
118 
120 #if defined(__cplusplus)
121 }
122 #endif
123 
125 #endif /* TEE_CLIENT_CONSTANTS_H */