/optee_os-3.20.0/ta/pkcs11/src/ |
A D | entry.c | 67 if (ptypes != exp_pt || in entry_ping() 79 return TEE_PARAM_TYPE_GET(ptypes, index) == in param_is_none() 97 return TEE_PARAM_TYPE_GET(ptypes, index) == in param_is_input() 103 return TEE_PARAM_TYPE_GET(ptypes, index) == in param_is_output() 117 uint32_t ptypes, in TA_InvokeCommandEntryPoint() argument 133 switch (TEE_PARAM_TYPE_GET(ptypes, 0)) { in TA_InvokeCommandEntryPoint() 146 param_is_input(ptypes, 1) ? "in" : in TA_InvokeCommandEntryPoint() 150 param_is_input(ptypes, 2) ? "in" : in TA_InvokeCommandEntryPoint() 157 rc = entry_ping(ptypes, params); in TA_InvokeCommandEntryPoint() 161 rc = entry_ck_slot_list(ptypes, params); in TA_InvokeCommandEntryPoint() [all …]
|
A D | object.h | 62 uint32_t ptypes, TEE_Param *params); 65 uint32_t ptypes, TEE_Param *params); 68 uint32_t ptypes, TEE_Param *params); 71 uint32_t ptypes, TEE_Param *params); 74 uint32_t ptypes, TEE_Param *params); 77 uint32_t ptypes, TEE_Param *params); 80 uint32_t ptypes, TEE_Param *params); 83 uint32_t ptypes, TEE_Param *params); 85 enum pkcs11_rc entry_copy_object(struct pkcs11_client *client, uint32_t ptypes,
|
A D | pkcs11_token.h | 326 enum pkcs11_rc entry_ck_slot_list(uint32_t ptypes, TEE_Param *params); 332 uint32_t ptypes, TEE_Param *params); 334 uint32_t ptypes, TEE_Param *params); 336 uint32_t ptypes, TEE_Param *params); 338 uint32_t ptypes, TEE_Param *params); 341 uint32_t ptypes, TEE_Param *params); 343 uint32_t ptypes, TEE_Param *params); 345 uint32_t ptypes, TEE_Param *params); 347 uint32_t ptypes, TEE_Param *params); 349 uint32_t ptypes, TEE_Param *params); [all …]
|
A D | processing.h | 85 uint32_t ptypes, TEE_Param *params); 88 uint32_t ptypes, TEE_Param *params); 91 uint32_t ptypes, TEE_Param *params, 95 uint32_t ptypes, TEE_Param *params, 100 uint32_t ptypes, TEE_Param *params, 104 uint32_t ptypes, 108 uint32_t ptypes, TEE_Param *params); 137 uint32_t ptypes, TEE_Param *params); 160 uint32_t ptypes, TEE_Param *params); 186 uint32_t ptypes, TEE_Param *params);
|
A D | pkcs11_token.c | 245 if (ptypes != exp_pt || in entry_ck_slot_list() 442 if (ptypes != exp_pt) in entry_ck_token_mecha_ids() 708 if (!client || ptypes != exp_pt) in entry_ck_close_session() 740 if (!client || ptypes != exp_pt) in entry_ck_close_all_sessions() 823 if (ptypes != exp_pt) in entry_ck_token_initialize() 1045 if (!client || ptypes != exp_pt) in entry_ck_init_pin() 1208 if (!client || ptypes != exp_pt) in entry_ck_set_pin() 1355 if (!client || ptypes != exp_pt) in entry_ck_login() 1462 if (!client || ptypes != exp_pt) in entry_ck_logout() 1530 if (!client || ptypes != exp_pt) in entry_ck_seed_random() [all …]
|
A D | processing_digest.c | 114 uint32_t ptypes, TEE_Param *params) in step_digest_operation() argument 127 if (TEE_PARAM_TYPE_GET(ptypes, 1) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_digest_operation() 133 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_OUTPUT) { in step_digest_operation() 139 if (TEE_PARAM_TYPE_GET(ptypes, 3) != TEE_PARAM_TYPE_NONE) in step_digest_operation()
|
A D | processing.c | 205 uint32_t ptypes, TEE_Param *params) in entry_generate_secret() argument 222 if (!client || ptypes != exp_pt || in entry_generate_secret() 588 uint32_t ptypes, TEE_Param *params, in entry_processing_init() argument 603 if (!client || ptypes != exp_pt) in entry_processing_init() 758 ptypes, params); in entry_processing_step() 761 ptypes, params); in entry_processing_step() 800 uint32_t ptypes, TEE_Param *params, in entry_processing_key() argument 830 if (TEE_PARAM_TYPE_GET(ptypes, 1) != in entry_processing_key() 1064 uint32_t ptypes, in entry_release_active_processing() argument 1078 if (!client || ptypes != exp_pt) in entry_release_active_processing() [all …]
|
A D | object.c | 299 uint32_t ptypes, TEE_Param *params) in entry_create_object() argument 319 if (!client || ptypes != exp_pt || in entry_create_object() 415 if (!client || ptypes != exp_pt) in entry_destroy_object() 506 if (!client || ptypes != exp_pt) in entry_find_objects_init() 669 if (!client || ptypes != exp_pt) in entry_find_objects() 709 uint32_t ptypes, TEE_Param *params) in entry_find_objects_final() argument 720 if (!client || ptypes != exp_pt) in entry_find_objects_final() 762 if (!client || ptypes != exp_pt) in entry_get_attribute_value() 926 if (!client || ptypes != exp_pt) in entry_get_object_size() 978 if (!client || ptypes != exp_pt) in entry_set_attribute_value() [all …]
|
A D | processing_asymm.c | 452 uint32_t ptypes, TEE_Param *params) in step_asymm_operation() argument 474 if (TEE_PARAM_TYPE_GET(ptypes, 1) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_asymm_operation() 480 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_asymm_operation() 486 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_OUTPUT) { in step_asymm_operation() 492 if (TEE_PARAM_TYPE_GET(ptypes, 3) != TEE_PARAM_TYPE_NONE) in step_asymm_operation() 850 switch (TEE_PARAM_TYPE_GET(ptypes, 2)) { in step_asymm_operation()
|
A D | processing_symm.c | 714 uint32_t ptypes, TEE_Param *params) in step_symm_operation() argument 730 if (TEE_PARAM_TYPE_GET(ptypes, 1) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_symm_operation() 736 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_symm_operation() 742 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_OUTPUT) { in step_symm_operation() 748 if (TEE_PARAM_TYPE_GET(ptypes, 3) != TEE_PARAM_TYPE_NONE) in step_symm_operation() 974 switch (TEE_PARAM_TYPE_GET(ptypes, 2)) { in step_symm_operation()
|
/optee_os-3.20.0/core/pta/ |
A D | scmi.c | 28 static TEE_Result cmd_capabilities(uint32_t ptypes, in cmd_capabilities() argument 36 if (ptypes != exp_ptypes) in cmd_capabilities() 54 if (ptypes != exp_ptypes) in cmd_process_smt_channel() 85 if (ptypes != exp_ptypes) in cmd_process_smt_message() 127 if (ptypes != exp_pt || !in_buf || !out_buf) in cmd_process_msg_channel() 223 uint32_t ptypes, in pta_scmi_invoke_command() argument 230 return cmd_capabilities(ptypes, params); in pta_scmi_invoke_command() 232 return cmd_process_smt_channel(ptypes, params); in pta_scmi_invoke_command() 234 return cmd_process_smt_message(ptypes, params); in pta_scmi_invoke_command() 236 return cmd_process_msg_channel(ptypes, params); in pta_scmi_invoke_command() [all …]
|
A D | hwrng.c | 60 uint32_t cmd, uint32_t ptypes, in invoke_command() argument 63 FMSG(PTA_NAME" command %#"PRIx32" ptypes %#"PRIx32, cmd, ptypes); in invoke_command() 67 return rng_get_entropy(ptypes, params); in invoke_command() 69 return rng_get_info(ptypes, params); in invoke_command()
|
A D | rtc.c | 155 static TEE_Result open_session(uint32_t ptypes __unused, in open_session() 170 uint32_t cmd, uint32_t ptypes, in invoke_command() argument 175 return rtc_pta_get_info(ptypes, params); in invoke_command() 177 return rtc_pta_get_time(ptypes, params); in invoke_command() 179 return rtc_pta_set_time(ptypes, params); in invoke_command() 181 return rtc_pta_get_offset(ptypes, params); in invoke_command() 183 return rtc_pta_set_offset(ptypes, params); in invoke_command()
|
A D | stats.c | 183 uint32_t cmd, uint32_t ptypes, in invoke_command() argument 188 return get_pager_stats(ptypes, params); in invoke_command() 190 return get_alloc_stats(ptypes, params); in invoke_command() 192 return get_memleak_stats(ptypes, params); in invoke_command() 194 return get_user_ta_stats(ptypes, params); in invoke_command()
|
/optee_os-3.20.0/core/pta/stm32mp/ |
A D | bsec_pta.c | 285 static TEE_Result pta_bsec_open_session(uint32_t ptypes __unused, in pta_bsec_open_session()
|