Home
last modified time | relevance | path

Searched refs:param_types (Results 1 – 25 of 34) 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]);
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,
40 TEE_Result ta_storage_cmd_get_obj_info(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_ta2ta_memref_size0(uint32_t param_types,
25 TEE_Result ta_entry_params(uint32_t param_types, TEE_Param params[4]);
26 TEE_Result ta_entry_null_memref(uint32_t param_types, TEE_Param params[4]);
[all …]
/optee_test/ta/crypto_perf/include/
A Dta_crypto_perf_priv.h11 TEE_Result cmd_cipher_prepare_key(uint32_t param_types, TEE_Param params[4]);
12 TEE_Result cmd_cipher_process(uint32_t param_types, TEE_Param params[4],
14 TEE_Result cmd_hash_prepare_op(uint32_t param_types, TEE_Param params[4]);
15 TEE_Result cmd_hash_process(uint32_t param_types, TEE_Param params[4]);
16 TEE_Result cmd_asym_process_keypair(uint32_t param_types, TEE_Param params[4]);
17 TEE_Result cmd_asym_process_rsa_ecc(uint32_t param_types, TEE_Param params[4]);
18 TEE_Result cmd_asym_prepare_obj(uint32_t param_types, TEE_Param params[4]);
19 TEE_Result cmd_asym_prepare_keypair(uint32_t param_types, TEE_Param params[4]);
20 TEE_Result cmd_asym_prepare_hash(uint32_t param_types, TEE_Param params[4]);
22 TEE_Result cmd_asym_prepare_attrs(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()
181 param_types, req_param_types); in ta_entry_recv()
207 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
288 TEE_Result ta_entry_arith_cmp(uint32_t param_types, in ta_entry_arith_cmp() argument
341 static TEE_Result binary_func(uint32_t param_types, in binary_func() argument
361 static TEE_Result unary_func(uint32_t param_types, in unary_func() argument
395 TEE_Result ta_entry_arith_add(uint32_t param_types, in ta_entry_arith_add() argument
401 TEE_Result ta_entry_arith_sub(uint32_t param_types, in ta_entry_arith_sub() argument
407 TEE_Result ta_entry_arith_mul(uint32_t param_types, in ta_entry_arith_mul() argument
413 TEE_Result ta_entry_arith_neg(uint32_t param_types, in ta_entry_arith_neg() argument
425 TEE_Result ta_entry_arith_abs(uint32_t param_types, in ta_entry_arith_abs() 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 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()
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]);
300 static TEE_Result set_global(uint32_t param_types, TEE_Param params[4]) in set_global() argument
305 if (TEE_PARAM_TYPE_VALUE_INPUT != TEE_PARAM_TYPE_GET(param_types, 0)) in set_global()
310 if (TEE_PARAM_TYPE_NONE != TEE_PARAM_TYPE_GET(param_types, i)) in set_global()
318 static TEE_Result get_global(uint32_t param_types, TEE_Param params[4]) in get_global() argument
323 if (TEE_PARAM_TYPE_VALUE_OUTPUT != TEE_PARAM_TYPE_GET(param_types, 0)) in get_global()
328 if (TEE_PARAM_TYPE_NONE != TEE_PARAM_TYPE_GET(param_types, i)) in get_global()
/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.c17 if ((pt) != param_types) \
24 uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_open() argument
67 uint32_t param_types, TEE_Param params[4]) in ta_storage_cmd_create() argument
115 uint32_t param_types, in ta_storage_cmd_create_overwrite() argument
358 if (TEE_PARAM_TYPE_GET(param_types, 3) != TEE_PARAM_TYPE_NONE) in ta_storage_cmd_next_enum()
364 if (TEE_PARAM_TYPE_GET(param_types, 1) == TEE_PARAM_TYPE_NONE) in ta_storage_cmd_next_enum()
366 else if (TEE_PARAM_TYPE_GET(param_types, 1) == in ta_storage_cmd_next_enum()
579 TEE_Result ta_storage_cmd_restrict_usage(uint32_t param_types, in ta_storage_cmd_restrict_usage() argument
635 TEE_Result ta_storage_cmd_get_obj_info(uint32_t param_types, in ta_storage_cmd_get_obj_info() argument
722 TEE_Result ta_storage_cmd_clear_storage(uint32_t param_types, in ta_storage_cmd_clear_storage() 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.c471 if (param_types != in test_mem_access_right()
819 res = test_mem_access_right(param_types, params); in ta_entry_basic()
845 (void)param_types; in ta_entry_panic()
888 TA_OS_TEST_CMD_WAIT, param_types, params, in ta_entry_client_with_timeout()
921 (void)param_types; in ta_entry_client()
970 if (param_types != in ta_entry_params_access_rights()
996 (void)param_types; in ta_entry_wait()
1091 if (param_types != TEE_PARAM_TYPES(0, 0, 0, 0)) in ta_entry_ta2ta_memref()
1201 param_types, params, &ret_orig); in ta_entry_ta2ta_memref_size0()
1276 TEE_Result ta_entry_call_lib(uint32_t param_types, in ta_entry_call_lib() argument
[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/crypto_perf/
A Dta_crypto_perf.c109 if (param_types != exp_param_types) in cmd_cipher_process()
205 if (param_types != exp_param_types) in cmd_cipher_prepare_key()
345 if (param_types != exp_param_types) in cmd_hash_process()
397 if (param_types != exp_param_types) in cmd_hash_prepare_op()
718 if (param_types != exp_param_types) in cmd_asym_prepare_attrs()
738 if (param_types != exp_param_types) in cmd_asym_free_attrs()
760 if (param_types != exp_param_types) in cmd_asym_process_keypair()
791 if (param_types != exp_param_types) in cmd_asym_process_rsa_ecc()
842 if (param_types != exp_param_types) in cmd_asym_prepare_obj()
872 if (param_types != exp_param_types) in cmd_asym_prepare_keypair()
[all …]
/optee_test/ta/crypt/include/
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,
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]);
/optee_test/ta/subkey1/
A Dta_entry.c18 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types __unused, in TA_OpenSessionEntryPoint()
31 uint32_t param_types __unused, in TA_InvokeCommandEntryPoint()
/optee_test/ta/subkey2/
A Dta_entry.c18 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types __unused, in TA_OpenSessionEntryPoint()
31 uint32_t param_types __unused, in TA_InvokeCommandEntryPoint()

Completed in 59 milliseconds

12