Lines Matching refs:function

59 static bool func_matches_state(enum processing_func function,  in func_matches_state()  argument
62 switch (function) { in func_matches_state()
85 TEE_Panic(function); in func_matches_state()
91 enum processing_func function) in get_active_session() argument
96 func_matches_state(function, session->processing->state)) in get_active_session()
581 enum processing_func function) in entry_processing_init() argument
604 if (function != PKCS11_FUNCTION_DIGEST) { in entry_processing_init()
623 if (function != PKCS11_FUNCTION_DIGEST) { in entry_processing_init()
631 rc = set_processing_state(session, function, obj, NULL); in entry_processing_init()
636 function, in entry_processing_init()
643 function, in entry_processing_init()
655 rc = init_symm_operation(session, function, proc_params, obj); in entry_processing_init()
657 rc = init_asymm_operation(session, function, proc_params, obj); in entry_processing_init()
667 id2str_function(function)); in entry_processing_init()
690 enum processing_func function, in entry_processing_step() argument
712 assert(function == PKCS11_FUNCTION_DIGEST); in entry_processing_step()
722 rc = get_active_session(session, function); in entry_processing_step()
727 assert(function == PKCS11_FUNCTION_DIGEST); in entry_processing_step()
745 function, step); in entry_processing_step()
750 rc = step_symm_operation(session, function, step, in entry_processing_step()
753 rc = step_asymm_operation(session, function, step, in entry_processing_step()
765 id2str_function(function)); in entry_processing_step()
794 enum processing_func function) in entry_processing_key() argument
821 switch (function) { in entry_processing_key()
893 function, in entry_processing_key()
899 rc = set_processing_state(session, function, parent, NULL); in entry_processing_key()
907 rc = check_parent_attrs_against_processing(proc_params->id, function, in entry_processing_key()
916 if (function == PKCS11_FUNCTION_UNWRAP) in entry_processing_key()
937 function, in entry_processing_key()
968 switch (function) { in entry_processing_key()
978 TEE_Panic(function); in entry_processing_key()
1041 enum processing_func function = PKCS11_FUNCTION_UNKNOWN; in entry_release_active_processing() local
1058 function = func_for_cmd(cmd); in entry_release_active_processing()
1059 if (function == PKCS11_FUNCTION_UNKNOWN) in entry_release_active_processing()
1062 rc = get_active_session(session, function); in entry_release_active_processing()
1095 const enum processing_func function = PKCS11_FUNCTION_WRAP; in entry_wrap_key() local
1151 rc = set_processing_state(session, function, wrapping_key, NULL); in entry_wrap_key()
1157 function, in entry_wrap_key()
1166 rc = check_parent_attrs_against_processing(proc_params->id, function, in entry_wrap_key()