1/* SPDX-License-Identifier: BSD-2-Clause */
2/*
3 * Copyright (c) 2015, Linaro Limited
4 * Copyright (c) 2014, STMicroelectronics International N.V.
5 */
6
7
8        UTEE_SYSCALL _utee_return, TEE_SCN_RETURN, 1
9
10        UTEE_SYSCALL _utee_log, TEE_SCN_LOG, 2
11
12        UTEE_SYSCALL __utee_panic, TEE_SCN_PANIC, 2
13
14        UTEE_SYSCALL _utee_get_property, TEE_SCN_GET_PROPERTY, 7
15
16        UTEE_SYSCALL _utee_get_property_name_to_index, \
17                TEE_SCN_GET_PROPERTY_NAME_TO_INDEX, 4
18
19        UTEE_SYSCALL _utee_open_ta_session, TEE_SCN_OPEN_TA_SESSION, 5
20
21        UTEE_SYSCALL _utee_close_ta_session, TEE_SCN_CLOSE_TA_SESSION, 1
22
23        UTEE_SYSCALL _utee_invoke_ta_command, TEE_SCN_INVOKE_TA_COMMAND, 5
24
25        UTEE_SYSCALL _utee_get_cancellation_flag, \
26                     TEE_SCN_GET_CANCELLATION_FLAG, 1
27
28        UTEE_SYSCALL _utee_check_access_rights, TEE_SCN_CHECK_ACCESS_RIGHTS, 3
29
30        UTEE_SYSCALL _utee_unmask_cancellation, TEE_SCN_UNMASK_CANCELLATION, 1
31
32        UTEE_SYSCALL _utee_mask_cancellation, TEE_SCN_MASK_CANCELLATION, 1
33
34        UTEE_SYSCALL _utee_wait, TEE_SCN_WAIT, 1
35
36        UTEE_SYSCALL _utee_get_time, TEE_SCN_GET_TIME, 2
37
38        UTEE_SYSCALL _utee_set_ta_time, TEE_SCN_SET_TA_TIME, 1
39
40        UTEE_SYSCALL _utee_cryp_state_alloc, TEE_SCN_CRYP_STATE_ALLOC, 5
41
42        UTEE_SYSCALL _utee_cryp_state_copy, TEE_SCN_CRYP_STATE_COPY, 2
43
44        UTEE_SYSCALL _utee_cryp_state_free, TEE_SCN_CRYP_STATE_FREE, 1
45
46        UTEE_SYSCALL _utee_hash_init, TEE_SCN_HASH_INIT, 3
47
48        UTEE_SYSCALL _utee_hash_update, TEE_SCN_HASH_UPDATE, 3
49
50        UTEE_SYSCALL _utee_hash_final, TEE_SCN_HASH_FINAL, 5
51
52        UTEE_SYSCALL _utee_cipher_init, TEE_SCN_CIPHER_INIT, 3
53
54        UTEE_SYSCALL _utee_cipher_update, TEE_SCN_CIPHER_UPDATE, 5
55
56        UTEE_SYSCALL _utee_cipher_final, TEE_SCN_CIPHER_FINAL, 5
57
58        UTEE_SYSCALL _utee_cryp_obj_get_info, TEE_SCN_CRYP_OBJ_GET_INFO, 2
59
60        UTEE_SYSCALL _utee_cryp_obj_restrict_usage, \
61                     TEE_SCN_CRYP_OBJ_RESTRICT_USAGE, 2
62
63        UTEE_SYSCALL _utee_cryp_obj_get_attr, TEE_SCN_CRYP_OBJ_GET_ATTR, 4
64
65        UTEE_SYSCALL _utee_cryp_obj_alloc, TEE_SCN_CRYP_OBJ_ALLOC, 3
66
67        UTEE_SYSCALL _utee_cryp_obj_close, TEE_SCN_CRYP_OBJ_CLOSE, 1
68
69        UTEE_SYSCALL _utee_cryp_obj_reset, TEE_SCN_CRYP_OBJ_RESET,  1
70
71        UTEE_SYSCALL _utee_cryp_obj_populate, TEE_SCN_CRYP_OBJ_POPULATE, 3
72
73        UTEE_SYSCALL _utee_cryp_obj_copy, TEE_SCN_CRYP_OBJ_COPY, 2
74
75        UTEE_SYSCALL _utee_cryp_derive_key, TEE_SCN_CRYP_DERIVE_KEY, 4
76
77        UTEE_SYSCALL _utee_cryp_random_number_generate, \
78                     TEE_SCN_CRYP_RANDOM_NUMBER_GENERATE, 2
79
80        UTEE_SYSCALL _utee_authenc_init, TEE_SCN_AUTHENC_INIT, 6
81
82        UTEE_SYSCALL _utee_authenc_update_aad, TEE_SCN_AUTHENC_UPDATE_AAD, 3
83
84        UTEE_SYSCALL _utee_authenc_update_payload, \
85                     TEE_SCN_AUTHENC_UPDATE_PAYLOAD, 5
86
87        UTEE_SYSCALL _utee_authenc_enc_final, TEE_SCN_AUTHENC_ENC_FINAL, 7
88
89        UTEE_SYSCALL _utee_authenc_dec_final, TEE_SCN_AUTHENC_DEC_FINAL, 7
90
91        UTEE_SYSCALL _utee_asymm_operate, TEE_SCN_ASYMM_OPERATE, 7
92
93        UTEE_SYSCALL _utee_asymm_verify, TEE_SCN_ASYMM_VERIFY, 7
94
95        UTEE_SYSCALL _utee_storage_obj_open, TEE_SCN_STORAGE_OBJ_OPEN, 5
96
97        UTEE_SYSCALL _utee_storage_obj_create, TEE_SCN_STORAGE_OBJ_CREATE, 8
98
99        UTEE_SYSCALL _utee_storage_obj_del, TEE_SCN_STORAGE_OBJ_DEL, 1
100
101        UTEE_SYSCALL _utee_storage_obj_rename, TEE_SCN_STORAGE_OBJ_RENAME, 3
102
103        UTEE_SYSCALL _utee_storage_alloc_enum, TEE_SCN_STORAGE_ENUM_ALLOC, 1
104
105        UTEE_SYSCALL _utee_storage_free_enum, TEE_SCN_STORAGE_ENUM_FREE, 1
106
107        UTEE_SYSCALL _utee_storage_reset_enum, TEE_SCN_STORAGE_ENUM_RESET, 1
108
109        UTEE_SYSCALL _utee_storage_start_enum, TEE_SCN_STORAGE_ENUM_START, 2
110
111        UTEE_SYSCALL _utee_storage_next_enum, TEE_SCN_STORAGE_ENUM_NEXT, 4
112
113        UTEE_SYSCALL _utee_storage_obj_read, TEE_SCN_STORAGE_OBJ_READ, 4
114
115        UTEE_SYSCALL _utee_storage_obj_write, TEE_SCN_STORAGE_OBJ_WRITE, 3
116
117        UTEE_SYSCALL _utee_storage_obj_trunc, TEE_SCN_STORAGE_OBJ_TRUNC, 2
118
119        UTEE_SYSCALL _utee_storage_obj_seek, TEE_SCN_STORAGE_OBJ_SEEK, 3
120
121        UTEE_SYSCALL _utee_cryp_obj_generate_key, \
122                     TEE_SCN_CRYP_OBJ_GENERATE_KEY, 4
123
124        UTEE_SYSCALL _utee_cache_operation, TEE_SCN_CACHE_OPERATION, 3
125