Home
last modified time | relevance | path

Searched refs:param_types (Results 1 – 25 of 46) sorted by relevance

12

/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/storage/include/
H A Dstorage.h12 TEE_Result ta_storage_cmd_open(uint32_t command, uint32_t param_types,
14 TEE_Result ta_storage_cmd_create(uint32_t command, uint32_t param_types,
17 uint32_t param_types,
19 TEE_Result ta_storage_cmd_close(uint32_t param_types, TEE_Param params[4]);
20 TEE_Result ta_storage_cmd_read(uint32_t param_types, TEE_Param params[4]);
21 TEE_Result ta_storage_cmd_write(uint32_t param_types, TEE_Param params[4]);
22 TEE_Result ta_storage_cmd_seek(uint32_t param_types, TEE_Param params[4]);
23 TEE_Result ta_storage_cmd_unlink(uint32_t param_types, TEE_Param params[4]);
24 TEE_Result ta_storage_cmd_rename(uint32_t command, uint32_t param_types,
26 TEE_Result ta_storage_cmd_trunc(uint32_t param_types, TEE_Param params[4]);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/socket/
H A Dta_entry.c25 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument
29 (void)param_types; in TA_OpenSessionEntryPoint()
45 static TEE_Result ta_entry_tcp_open(uint32_t param_types, TEE_Param params[4]) in ta_entry_tcp_open() argument
56 if (param_types != req_param_types) { in ta_entry_tcp_open()
58 param_types, req_param_types); in ta_entry_tcp_open()
84 static TEE_Result ta_entry_udp_open(uint32_t param_types, TEE_Param params[4]) in ta_entry_udp_open() argument
95 if (param_types != req_param_types) { in ta_entry_udp_open()
97 param_types, req_param_types); in ta_entry_udp_open()
123 static TEE_Result ta_entry_close(uint32_t param_types, TEE_Param params[4]) in ta_entry_close() argument
131 if (param_types != req_param_types) { in ta_entry_close()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/os_test/include/
H A Dos_test.h12 TEE_Result ta_entry_basic(uint32_t param_types, TEE_Param params[4]);
13 TEE_Result ta_entry_client_with_timeout(uint32_t param_types,
15 TEE_Result ta_entry_panic(uint32_t param_types, TEE_Param params[4]);
16 TEE_Result ta_entry_client(uint32_t param_types, TEE_Param params[4]);
18 TEE_Result ta_entry_wait(uint32_t param_types, TEE_Param params[4]);
19 TEE_Result ta_entry_bad_mem_access(uint32_t param_types, TEE_Param params[4]);
20 TEE_Result ta_entry_ta2ta_memref(uint32_t param_types, TEE_Param params[4]);
21 TEE_Result ta_entry_ta2ta_memref_mix(uint32_t param_types,
23 TEE_Result ta_entry_params(uint32_t param_types, TEE_Param params[4]);
24 TEE_Result ta_entry_null_memref(uint32_t param_types, TEE_Param params[4]);
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/
H A Darith_taf.c23 if ((param_types) != exp_pt) { \
24 EMSG("Unpexteded param_types 0x%" PRIx32 ", exptected 0x%" PRIx32, (param_types), exp_pt); \
77 TEE_Result ta_entry_arith_new_var(uint32_t param_types, in ta_entry_arith_new_var() argument
98 TEE_Result ta_entry_arith_new_fmm_ctx(uint32_t param_types, in ta_entry_arith_new_fmm_ctx() argument
124 TEE_Result ta_entry_arith_new_fmm_var(uint32_t param_types, in ta_entry_arith_new_fmm_var() argument
145 TEE_Result ta_entry_arith_free_handle(uint32_t param_types, in ta_entry_arith_free_handle() argument
160 TEE_Result ta_entry_arith_from_octet_string(uint32_t param_types, in ta_entry_arith_from_octet_string() argument
176 TEE_Result ta_entry_arith_from_s32(uint32_t param_types, in ta_entry_arith_from_s32() argument
191 TEE_Result ta_entry_arith_get_value(uint32_t param_types, in ta_entry_arith_get_value() argument
210 TEE_Result ta_entry_arith_get_value_s32(uint32_t param_types, in ta_entry_arith_get_value_s32() argument
[all …]
H A Dderive_key_taf.c28 uint32_t param_types = TEE_PARAM_TYPES(TEE_PARAM_TYPE_MEMREF_INPUT, in derive_unique_key() local
42 param_types, params, &ret_origin); in derive_unique_key()
49 TEE_Result derive_ta_unique_key_test(uint32_t param_types, in derive_ta_unique_key_test() argument
62 if (param_types != TEE_PARAM_TYPES(TEE_PARAM_TYPE_NONE, in derive_ta_unique_key_test()
189 TEE_Result derive_ta_unique_key_test_shm(uint32_t param_types, in derive_ta_unique_key_test_shm() argument
196 if (param_types != TEE_PARAM_TYPES(TEE_PARAM_TYPE_MEMREF_INPUT, in derive_ta_unique_key_test_shm()
215 param_types, params, &ret_origin); in derive_ta_unique_key_test_shm()
H A Dta_entry.c18 static TEE_Result set_global(uint32_t param_types, TEE_Param params[4]);
19 static TEE_Result get_global(uint32_t param_types, TEE_Param params[4]);
291 static TEE_Result set_global(uint32_t param_types, TEE_Param params[4]) in set_global() argument
296 if (TEE_PARAM_TYPE_VALUE_INPUT != TEE_PARAM_TYPE_GET(param_types, 0)) in set_global()
301 if (TEE_PARAM_TYPE_NONE != TEE_PARAM_TYPE_GET(param_types, i)) in set_global()
309 static TEE_Result get_global(uint32_t param_types, TEE_Param params[4]) in get_global() argument
314 if (TEE_PARAM_TYPE_VALUE_OUTPUT != TEE_PARAM_TYPE_GET(param_types, 0)) in get_global()
319 if (TEE_PARAM_TYPE_NONE != TEE_PARAM_TYPE_GET(param_types, i)) in get_global()
H A Dsha2_taf.c10 TEE_Result ta_entry_sha224(uint32_t param_types, TEE_Param params[4]) in ta_entry_sha224() argument
16 if (param_types != in ta_entry_sha224()
33 TEE_Result ta_entry_sha256(uint32_t param_types, TEE_Param params[4]) in ta_entry_sha256() argument
39 if (param_types != in ta_entry_sha256()
H A Daes_taf.c21 TEE_Result ta_entry_aes256ecb_encrypt(uint32_t param_types, TEE_Param params[4]) in ta_entry_aes256ecb_encrypt() argument
30 if (param_types != in ta_entry_aes256ecb_encrypt()
62 TEE_Result ta_entry_aes256ecb_decrypt(uint32_t param_types, TEE_Param params[4]) in ta_entry_aes256ecb_decrypt() argument
71 if (param_types != in ta_entry_aes256ecb_decrypt()
H A Dseed_rng_taf.c10 TEE_Result seed_rng_pool(uint32_t param_types, TEE_Param params[4]) in seed_rng_pool() argument
17 if (param_types != in seed_rng_pool()
37 param_types, params, &ret_orig); in seed_rng_pool()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/concurrent/
H A Dta_entry.c23 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument
27 (void)param_types; in TA_OpenSessionEntryPoint()
48 static TEE_Result ta_entry_busy_loop(uint32_t param_types, TEE_Param params[4]) in ta_entry_busy_loop() argument
56 if (param_types != req_param_types) { in ta_entry_busy_loop()
58 param_types, req_param_types); in ta_entry_busy_loop()
81 static TEE_Result ta_entry_sha256(uint32_t param_types, TEE_Param params[4]) in ta_entry_sha256() argument
94 if (param_types != req_param_types) { in ta_entry_sha256()
96 param_types, req_param_types); in ta_entry_sha256()
140 uint32_t cmd_id, uint32_t param_types, in TA_InvokeCommandEntryPoint() argument
147 return ta_entry_busy_loop(param_types, params); in TA_InvokeCommandEntryPoint()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/concurrent_large/
H A Dta_entry.c23 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument
27 (void)param_types; in TA_OpenSessionEntryPoint()
48 static TEE_Result ta_entry_busy_loop(uint32_t param_types, TEE_Param params[4]) in ta_entry_busy_loop() argument
56 if (param_types != req_param_types) { in ta_entry_busy_loop()
58 param_types, req_param_types); in ta_entry_busy_loop()
81 static TEE_Result ta_entry_sha256(uint32_t param_types, TEE_Param params[4]) in ta_entry_sha256() argument
94 if (param_types != req_param_types) { in ta_entry_sha256()
96 param_types, req_param_types); in ta_entry_sha256()
140 uint32_t cmd_id, uint32_t param_types, in TA_InvokeCommandEntryPoint() argument
147 return ta_entry_busy_loop(param_types, params); in TA_InvokeCommandEntryPoint()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/storage/
H A Dstorage.c15 if ((pt) != param_types) \
22 uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_open() argument
63 uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_create() argument
109 uint32_t param_types, in ta_storage_cmd_create_overwrite() argument
150 TEE_Result ta_storage_cmd_close(uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_close() argument
161 TEE_Result ta_storage_cmd_read(uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_read() argument
185 TEE_Result ta_storage_cmd_write(uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_write() argument
207 TEE_Result ta_storage_cmd_seek(uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_seek() argument
230 TEE_Result ta_storage_cmd_unlink(uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_unlink() argument
243 TEE_Result ta_storage_cmd_rename(uint32_t command, uint32_t param_types, in ta_storage_cmd_rename() argument
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/sims/
H A Dta_sims.c27 TEE_Result sims_open_ta_session(void *session_context, uint32_t param_types, in sims_open_ta_session() argument
36 if (param_types != TEE_PARAM_TYPES(TEE_PARAM_TYPE_MEMREF_INPUT, in sims_open_ta_session()
90 TEE_Result sims_read(uint32_t param_types, TEE_Param params[4]) in sims_read() argument
95 if (param_types != in sims_read()
119 TEE_Result sims_write(uint32_t param_types, TEE_Param params[4]) in sims_write() argument
123 if (param_types != in sims_write()
148 TEE_Result sims_get_counter(void *session_context, uint32_t param_types, in sims_get_counter() argument
153 if (param_types != in sims_get_counter()
162 TEE_Result sims_entry_panic(void *session_context, uint32_t param_types, in sims_entry_panic() argument
169 if (param_types != TEE_PARAM_TYPES(TEE_PARAM_TYPE_MEMREF_INPUT, in sims_entry_panic()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/supp_plugin/
H A Dta_entry.c40 static TEE_Result pass_values(uint32_t param_types, in pass_values() argument
54 if (exp_pt != param_types) in pass_values()
68 static TEE_Result write_array(uint32_t param_types, in write_array() argument
79 if (exp_pt != param_types) in write_array()
90 static TEE_Result get_array(uint32_t param_types, in get_array() argument
100 if (exp_pt != param_types) in get_array()
112 static TEE_Result bad_input_uuid(uint32_t param_types __unused, in bad_input_uuid()
121 static TEE_Result bad_input_data(uint32_t param_types __unused, in bad_input_data()
127 static TEE_Result bad_input_inlen(uint32_t param_types __unused, in bad_input_inlen()
135 static TEE_Result call_unknown_plugin(uint32_t param_types __unused, in call_unknown_plugin()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/os_test/
H A Dos_test.c455 static TEE_Result test_mem_access_right(uint32_t param_types, in test_mem_access_right() argument
467 if (param_types != in test_mem_access_right()
774 TEE_Result ta_entry_basic(uint32_t param_types, TEE_Param params[4]) in ta_entry_basic() argument
788 res = test_mem_access_right(param_types, params); in ta_entry_basic()
811 TEE_Result ta_entry_panic(uint32_t param_types, TEE_Param params[4]) in ta_entry_panic() argument
814 (void)param_types; in ta_entry_panic()
832 TEE_Result ta_entry_client_with_timeout(uint32_t param_types, in ta_entry_client_with_timeout() argument
840 if (param_types != TEE_PARAM_TYPES(TEE_PARAM_TYPE_VALUE_INPUT, in ta_entry_client_with_timeout()
858 TA_OS_TEST_CMD_WAIT, param_types, params, in ta_entry_client_with_timeout()
874 TEE_Result ta_entry_client(uint32_t param_types, TEE_Param params[4]) in ta_entry_client() argument
[all …]
H A Dinit.c10 TEE_Result ta_entry_init(uint32_t param_types, TEE_Param params[4]) in ta_entry_init() argument
13 (void)param_types; in ta_entry_init()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/
H A Drktest_entry.c35 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument
42 if (param_types != exp_param_types) in TA_OpenSessionEntryPoint()
74 uint32_t param_types, TEE_Param params[4]) in TA_InvokeCommandEntryPoint() argument
81 return handle_transfer_data(param_types, params); in TA_InvokeCommandEntryPoint()
99 return handle_storage_speed(param_types, params); in TA_InvokeCommandEntryPoint()
105 return handle_crypto_hw(param_types, params); in TA_InvokeCommandEntryPoint()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/
H A Drktest_entry.c35 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument
42 if (param_types != exp_param_types) in TA_OpenSessionEntryPoint()
74 uint32_t param_types, TEE_Param params[4]) in TA_InvokeCommandEntryPoint() argument
81 return handle_transfer_data(param_types, params); in TA_InvokeCommandEntryPoint()
99 return handle_storage_speed(param_types, params); in TA_InvokeCommandEntryPoint()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/tpm_log_test/
H A Dta_entry.c14 static TEE_Result invoke_system_pta(uint32_t cmd_id, uint32_t param_types, in invoke_system_pta() argument
28 cmd_id, param_types, params, &ret_origin); in invoke_system_pta()
41 const uint32_t param_types = TEE_PARAM_TYPES( in test_with_right_parameters() local
55 param_types, params) == TEE_SUCCESS) { in test_with_right_parameters()
110 const uint32_t param_types = TEE_PARAM_TYPES( in test_short_buffer() local
121 if (invoke_system_pta(PTA_SYSTEM_GET_TPM_EVENT_LOG, param_types, in test_short_buffer()
/OK3568_Linux_fs/buildroot/package/rockchip/tee-user-app/extra_app/ta/
H A Dkeybox.c35 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument
41 (void)&param_types; in TA_OpenSessionEntryPoint()
89 uint32_t param_types, TEE_Param params[4]) in TA_InvokeCommandEntryPoint() argument
113 if (param_types != exp_param_types) in TA_InvokeCommandEntryPoint()
130 if (param_types != exp_param_types) in TA_InvokeCommandEntryPoint()
147 if (param_types != exp_param_types) in TA_InvokeCommandEntryPoint()
187 if (param_types != exp_param_types) in TA_InvokeCommandEntryPoint()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/include/
H A Drktest_handle.h10 if ((pt) != param_types)\
23 TEE_Result handle_transfer_data(uint32_t param_types, TEE_Param params[4]);
24 TEE_Result handle_storage_speed(uint32_t param_types, TEE_Param params[4]);
27 TEE_Result handle_crypto_hw(uint32_t param_types, TEE_Param params[4]);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/sha_perf/
H A Dta_sha_perf.c24 TEE_Result cmd_process(uint32_t param_types, TEE_Param params[4]) in cmd_process() argument
38 if (param_types != exp_param_types) in cmd_process()
55 TEE_Result cmd_prepare_op(uint32_t param_types, TEE_Param params[4]) in cmd_prepare_op() argument
64 if (param_types != exp_param_types) in cmd_prepare_op()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/include/
H A Drktest_handle.h10 if ((pt) != param_types)\
22 TEE_Result handle_transfer_data(uint32_t param_types, TEE_Param params[4]);
23 TEE_Result handle_storage_speed(uint32_t param_types, TEE_Param params[4]);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/include/
H A Dderive_key_taf.h11 TEE_Result derive_ta_unique_key_test(uint32_t param_types,
13 TEE_Result derive_ta_unique_key_test_shm(uint32_t param_types,
H A Daes_taf.h13 TEE_Result ta_entry_aes256ecb_encrypt(uint32_t param_types,
17 TEE_Result ta_entry_aes256ecb_decrypt(uint32_t param_types,

12