Home
last modified time | relevance | path

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

12

/optee_test/ta/storage/include/
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]);
24 TEE_Result ta_storage_cmd_rename(uint32_t command, uint32_t param_types,
32 TEE_Result ta_storage_cmd_key_in_persistent(uint32_t param_types,
35 TEE_Result ta_storage_cmd_restrict_usage(uint32_t param_types,
[all …]
/optee_test/ta/os_test/include/
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]);
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]);
25 TEE_Result ta_entry_call_lib(uint32_t param_types, TEE_Param params[4]);
[all …]
/optee_test/ta/socket/
A Dta_entry.c29 (void)param_types; in TA_OpenSessionEntryPoint()
56 if (param_types != req_param_types) { in ta_entry_tcp_open()
58 param_types, req_param_types); in ta_entry_tcp_open()
95 if (param_types != req_param_types) { in ta_entry_udp_open()
97 param_types, req_param_types); in ta_entry_udp_open()
131 if (param_types != req_param_types) { in ta_entry_close()
133 param_types, req_param_types); in ta_entry_close()
155 param_types, req_param_types); in ta_entry_send()
179 param_types, req_param_types); in ta_entry_recv()
202 param_types, req_param_types); in ta_entry_error()
[all …]
/optee_test/ta/crypt/
A Darith_taf.c23 if ((param_types) != exp_pt) { \
77 TEE_Result ta_entry_arith_new_var(uint32_t param_types, in ta_entry_arith_new_var() argument
275 TEE_Result ta_entry_arith_cmp(uint32_t param_types, in ta_entry_arith_cmp() argument
328 static TEE_Result binary_func(uint32_t param_types, in binary_func() argument
348 static TEE_Result unary_func(uint32_t param_types, in unary_func() argument
366 TEE_Result ta_entry_arith_add(uint32_t param_types, in ta_entry_arith_add() argument
372 TEE_Result ta_entry_arith_sub(uint32_t param_types, in ta_entry_arith_sub() argument
378 TEE_Result ta_entry_arith_mul(uint32_t param_types, in ta_entry_arith_mul() argument
384 TEE_Result ta_entry_arith_neg(uint32_t param_types, in ta_entry_arith_neg() argument
390 TEE_Result ta_entry_arith_sqr(uint32_t param_types, in ta_entry_arith_sqr() argument
[all …]
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()
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()
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()
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()
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()
/optee_test/ta/concurrent_large/
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 …]
/optee_test/ta/concurrent/
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 …]
/optee_test/ta/sims/
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()
169 if (param_types != TEE_PARAM_TYPES(TEE_PARAM_TYPE_MEMREF_INPUT, in sims_entry_panic()
177 param_types, params); in sims_entry_panic()
[all …]
/optee_test/ta/supp_plugin/
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()
/optee_test/ta/storage/
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
346 if (TEE_PARAM_TYPE_GET(param_types, 0) != TEE_PARAM_TYPE_VALUE_INPUT) in ta_storage_cmd_next_enum()
350 if (TEE_PARAM_TYPE_GET(param_types, 3) != TEE_PARAM_TYPE_NONE) in ta_storage_cmd_next_enum()
356 if (TEE_PARAM_TYPE_GET(param_types, 1) == TEE_PARAM_TYPE_NONE) in ta_storage_cmd_next_enum()
358 else if (TEE_PARAM_TYPE_GET(param_types, 1) == in ta_storage_cmd_next_enum()
401 TEE_Result ta_storage_cmd_key_in_persistent(uint32_t param_types, in ta_storage_cmd_key_in_persistent() argument
550 TEE_Result ta_storage_cmd_restrict_usage(uint32_t param_types, in ta_storage_cmd_restrict_usage() argument
[all …]
/optee_test/ta/large/
A Dta_entry.c33 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument
37 (void)param_types; in TA_OpenSessionEntryPoint()
52 uint32_t cmd_id, uint32_t param_types, in TA_InvokeCommandEntryPoint() argument
57 (void)param_types; in TA_InvokeCommandEntryPoint()
/optee_test/ta/tpm_log_test/
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()
/optee_test/ta/os_test/
A Dos_test.c467 if (param_types != in test_mem_access_right()
788 res = test_mem_access_right(param_types, params); in ta_entry_basic()
814 (void)param_types; in ta_entry_panic()
858 TA_OS_TEST_CMD_WAIT, param_types, params, in ta_entry_client_with_timeout()
892 (void)param_types; in ta_entry_client()
940 if (param_types != in ta_entry_params_access_rights()
966 (void)param_types; in ta_entry_wait()
1059 if (param_types != TEE_PARAM_TYPES(0, 0, 0, 0)) in ta_entry_ta2ta_memref()
1201 TEE_Result ta_entry_call_lib(uint32_t param_types, in ta_entry_call_lib() argument
1204 if (param_types != TEE_PARAM_TYPES(TEE_PARAM_TYPE_NONE, in ta_entry_call_lib()
[all …]
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()
/optee_test/ta/sha_perf/
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()
/optee_test/ta/crypt/include/
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,
A Dsha2_taf.h13 TEE_Result ta_entry_sha224(uint32_t param_types, TEE_Param params[4]);
16 TEE_Result ta_entry_sha256(uint32_t param_types, TEE_Param params[4]);
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,
/optee_test/ta/sha_perf/include/
A Dta_sha_perf_priv.h12 TEE_Result cmd_prepare_op(uint32_t param_types, TEE_Param params[4]);
13 TEE_Result cmd_process(uint32_t param_types, TEE_Param params[4]);
/optee_test/ta/aes_perf/include/
A Dta_aes_perf_priv.h12 TEE_Result cmd_prepare_key(uint32_t param_types, TEE_Param params[4]);
13 TEE_Result cmd_process(uint32_t param_types, TEE_Param params[4], bool sdp);
/optee_test/ta/bti_test/
A Dta_entry.c41 static TEE_Result check_bti_implemented(uint32_t param_types, in check_bti_implemented() argument
47 if (param_types != in check_bti_implemented()

Completed in 24 milliseconds

12