| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/storage/include/ |
| H A D | storage.h | 12 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 D | ta_entry.c | 25 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 D | os_test.h | 12 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 D | arith_taf.c | 23 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 D | derive_key_taf.c | 28 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 D | ta_entry.c | 18 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 D | sha2_taf.c | 10 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 D | aes_taf.c | 21 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 D | seed_rng_taf.c | 10 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 D | ta_entry.c | 23 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 D | ta_entry.c | 23 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 D | storage.c | 15 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 D | ta_sims.c | 27 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 D | ta_entry.c | 40 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 D | os_test.c | 455 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 D | init.c | 10 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 D | rktest_entry.c | 35 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 D | rktest_entry.c | 35 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 D | ta_entry.c | 14 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 D | keybox.c | 35 TEE_Result TA_OpenSessionEntryPoint(uint32_t param_types, in TA_OpenSessionEntryPoint() argument 41 (void)¶m_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 D | rktest_handle.h | 10 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 D | ta_sha_perf.c | 24 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 D | rktest_handle.h | 10 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 D | derive_key_taf.h | 11 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 D | aes_taf.h | 13 TEE_Result ta_entry_aes256ecb_encrypt(uint32_t param_types, 17 TEE_Result ta_entry_aes256ecb_decrypt(uint32_t param_types,
|