Home
last modified time | relevance | path

Searched refs:mecha_type (Results 1 – 5 of 5) sorted by relevance

/optee_os/ta/pkcs11/src/
H A Dprocessing_symm.c651 session->processing->mecha_type = proc_params->id; in init_symm_operation()
661 switch (proc->mecha_type) { in input_data_size_is_valid()
692 switch (proc->mecha_type) { in input_sign_size_is_valid()
793 switch (proc->mecha_type) { in step_symm_operation()
895 TEE_Panic(proc->mecha_type); in step_symm_operation()
905 switch (proc->mecha_type) { in step_symm_operation()
1065 TEE_Panic(proc->mecha_type); in step_symm_operation()
1098 switch (proc->mecha_type) { in derive_key_by_symm_enc()
1143 switch (proc->mecha_type) { in wrap_data_by_symm_enc()
1213 switch (proc->mecha_type) { in unwrap_key_by_symm()
H A Dprocessing_asymm.c462 session->processing->mecha_type = proc_params->id; in init_asymm_operation()
534 switch (proc->mecha_type) { in step_asymm_operation()
625 switch (proc->mecha_type) { in step_asymm_operation()
663 switch (proc->mecha_type) { in step_asymm_operation()
705 switch (proc->mecha_type) { in step_asymm_operation()
774 switch (proc->mecha_type) { in step_asymm_operation()
1000 TEE_Panic(proc->mecha_type); in step_asymm_operation()
1242 switch (proc->mecha_type) { in wrap_data_by_asymm_enc()
1260 switch (proc->mecha_type) { in unwrap_key_by_asymm()
H A Dprocessing_digest.c97 session->processing->mecha_type = proc_params->id; in init_digest_operation()
155 assert(processing_is_tee_digest(proc->mecha_type)); in step_digest_operation()
H A Dprocessing.c107 switch (session->processing->mecha_type) { in release_active_processing()
714 enum pkcs11_mechanism_id mecha_type = PKCS11_CKM_UNDEFINED_ID; in entry_processing_step() local
760 mecha_type = session->processing->mecha_type; in entry_processing_step()
761 rc = check_mechanism_against_processing(session, mecha_type, in entry_processing_step()
766 if (processing_is_tee_symm(mecha_type)) in entry_processing_step()
769 else if (processing_is_tee_asymm(mecha_type)) in entry_processing_step()
772 else if (processing_is_tee_digest(mecha_type)) in entry_processing_step()
781 session->handle, id2str_proc(mecha_type), in entry_processing_step()
H A Dpkcs11_token.h146 uint32_t mecha_type; member