Home
last modified time | relevance | path

Searched refs:ptypes (Results 1 – 13 of 13) sorted by relevance

/optee_os/ta/pkcs11/src/
A Dentry.c67 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 Dobject.h62 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 Dpkcs11_token.h326 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 Dprocessing.h53 uint32_t ptypes, TEE_Param *params);
56 uint32_t ptypes, TEE_Param *params);
59 uint32_t ptypes, TEE_Param *params,
63 uint32_t ptypes, TEE_Param *params,
68 uint32_t ptypes, TEE_Param *params,
72 uint32_t ptypes,
76 uint32_t ptypes, TEE_Param *params);
105 uint32_t ptypes, TEE_Param *params);
120 uint32_t ptypes, TEE_Param *params);
146 uint32_t ptypes, TEE_Param *params);
A Dpkcs11_token.c245 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 Dprocessing.c199 uint32_t ptypes, TEE_Param *params) in entry_generate_secret() argument
216 if (!client || ptypes != exp_pt || in entry_generate_secret()
580 uint32_t ptypes, TEE_Param *params, in entry_processing_init() argument
595 if (!client || ptypes != exp_pt) in entry_processing_init()
751 ptypes, params); in entry_processing_step()
754 ptypes, params); in entry_processing_step()
793 uint32_t ptypes, TEE_Param *params, in entry_processing_key() argument
823 if (TEE_PARAM_TYPE_GET(ptypes, 1) != in entry_processing_key()
1030 uint32_t ptypes, in entry_release_active_processing() argument
1044 if (!client || ptypes != exp_pt) in entry_release_active_processing()
[all …]
A Dobject.c299 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 Dprocessing_digest.c108 uint32_t ptypes, TEE_Param *params) in step_digest_operation() argument
121 if (TEE_PARAM_TYPE_GET(ptypes, 1) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_digest_operation()
127 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_OUTPUT) { in step_digest_operation()
133 if (TEE_PARAM_TYPE_GET(ptypes, 3) != TEE_PARAM_TYPE_NONE) in step_digest_operation()
A Dprocessing_asymm.c408 uint32_t ptypes, TEE_Param *params) in step_asymm_operation() argument
428 if (TEE_PARAM_TYPE_GET(ptypes, 1) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_asymm_operation()
434 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_asymm_operation()
440 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_OUTPUT) { in step_asymm_operation()
446 if (TEE_PARAM_TYPE_GET(ptypes, 3) != TEE_PARAM_TYPE_NONE) in step_asymm_operation()
761 switch (TEE_PARAM_TYPE_GET(ptypes, 2)) { in step_asymm_operation()
A Dprocessing_symm.c718 uint32_t ptypes, TEE_Param *params) in step_symm_operation() argument
734 if (TEE_PARAM_TYPE_GET(ptypes, 1) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_symm_operation()
740 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_INPUT) { in step_symm_operation()
746 if (TEE_PARAM_TYPE_GET(ptypes, 2) == TEE_PARAM_TYPE_MEMREF_OUTPUT) { in step_symm_operation()
752 if (TEE_PARAM_TYPE_GET(ptypes, 3) != TEE_PARAM_TYPE_NONE) in step_symm_operation()
980 switch (TEE_PARAM_TYPE_GET(ptypes, 2)) { in step_symm_operation()
/optee_os/core/pta/
A Dscmi.c14 static TEE_Result cmd_capabilities(uint32_t ptypes, in cmd_capabilities() argument
23 if (ptypes != exp_ptypes) in cmd_capabilities()
35 static TEE_Result cmd_process_smt_channel(uint32_t ptypes, in cmd_process_smt_channel() argument
44 if (ptypes != exp_ptypes) in cmd_process_smt_channel()
72 if (ptypes != exp_ptypes) in cmd_process_smt_message()
110 if (ptypes != exp_ptypes) in cmd_get_channel_handle()
152 uint32_t ptypes, in pta_scmi_invoke_command() argument
159 return cmd_capabilities(ptypes, params); in pta_scmi_invoke_command()
161 return cmd_process_smt_channel(ptypes, params); in pta_scmi_invoke_command()
163 return cmd_process_smt_message(ptypes, params); in pta_scmi_invoke_command()
[all …]
A Dhwrng.c58 uint32_t cmd, uint32_t ptypes, in invoke_command() argument
61 FMSG(PTA_NAME" command %#"PRIx32" ptypes %#"PRIx32, cmd, ptypes); in invoke_command()
65 return rng_get_entropy(ptypes, params); in invoke_command()
67 return rng_get_info(ptypes, params); in invoke_command()
A Dstats.c145 uint32_t cmd, uint32_t ptypes, in invoke_command() argument
150 return get_pager_stats(ptypes, params); in invoke_command()
152 return get_alloc_stats(ptypes, params); in invoke_command()
154 return get_memleak_stats(ptypes, params); in invoke_command()

Completed in 22 milliseconds