Home
last modified time | relevance | path

Searched refs:PKCS11_CKR_OK (Results 1 – 17 of 17) sorted by relevance

/optee_os/ta/pkcs11/src/
A Dserializer.c29 enum pkcs11_rc rc = PKCS11_CKR_OK; in serialargs_get()
43 enum pkcs11_rc rc = PKCS11_CKR_OK; in alloc_and_get()
53 return PKCS11_CKR_OK; in alloc_and_get()
71 return PKCS11_CKR_OK; in alloc_and_get()
91 return PKCS11_CKR_OK; in serialargs_get_ptr()
103 return PKCS11_CKR_OK; in serialargs_get_ptr()
111 enum pkcs11_rc rc = PKCS11_CKR_OK; in serialargs_alloc_get_one_attribute()
125 return PKCS11_CKR_OK; in serialargs_alloc_get_one_attribute()
147 return PKCS11_CKR_OK; in serialargs_alloc_get_attributes()
173 return PKCS11_CKR_OK; in serialargs_get_session_from_handle()
[all …]
A Dprocessing_rsa.c56 return PKCS11_CKR_OK; in pkcs2tee_proc_params_rsa_pss()
109 return PKCS11_CKR_OK; in pkcs2tee_validate_rsa_pss()
146 return PKCS11_CKR_OK; in pkcs2tee_algo_rsa_pss()
151 return PKCS11_CKR_OK; in pkcs2tee_algo_rsa_pss()
156 return PKCS11_CKR_OK; in pkcs2tee_algo_rsa_pss()
196 return PKCS11_CKR_OK; in pkcs2tee_algo_rsa_pss()
251 return PKCS11_CKR_OK; in pkcs2tee_proc_params_rsa_oaep()
347 return PKCS11_CKR_OK; in pkcs2tee_algo_rsa_oaep()
378 rc = PKCS11_CKR_OK; in load_tee_rsa_key_attrs()
411 rc = PKCS11_CKR_OK; in load_tee_rsa_key_attrs()
[all …]
A Dattributes.c28 return PKCS11_CKR_OK; in init_attributes_head()
36 enum pkcs11_rc rc = PKCS11_CKR_OK; in add_attribute()
91 return PKCS11_CKR_OK; in _remove_attribute()
166 return PKCS11_CKR_OK; in get_attribute_ptr()
172 enum pkcs11_rc rc = PKCS11_CKR_OK; in get_attribute()
192 return PKCS11_CKR_OK; in get_attribute()
198 enum pkcs11_rc rc = PKCS11_CKR_OK; in set_attribute()
230 return PKCS11_CKR_OK; in modify_attributes_list()
244 assert(rc == PKCS11_CKR_OK); in get_bool()
287 return PKCS11_CKR_OK; in attributes_match_add_reference()
[all …]
A Dpkcs11_token.c231 return PKCS11_CKR_OK; in set_processing_state()
255 return PKCS11_CKR_OK; in entry_ck_slot_list()
264 return PKCS11_CKR_OK; in entry_ck_slot_list()
343 return PKCS11_CKR_OK; in entry_ck_slot_info()
410 return PKCS11_CKR_OK; in entry_ck_token_info()
531 return PKCS11_CKR_OK; in entry_ck_token_mecha_info()
671 return PKCS11_CKR_OK; in entry_ck_open_session()
722 return PKCS11_CKR_OK; in entry_ck_close_session()
762 return PKCS11_CKR_OK; in entry_ck_close_all_sessions()
802 return PKCS11_CKR_OK; in entry_ck_session_info()
[all …]
A Dpkcs11_attributes.c72 return PKCS11_CKR_OK; in check_mechanism_against_processing()
132 return PKCS11_CKR_OK; in check_mechanism_against_processing()
146 return PKCS11_CKR_OK; in check_mechanism_against_processing()
266 return PKCS11_CKR_OK; in get_default_value()
287 rc = PKCS11_CKR_OK; in set_optional_attributes_with_def()
893 return PKCS11_CKR_OK; in sanitize_symm_key_attributes()
1249 return PKCS11_CKR_OK; in check_attrs_misc_integrity()
1299 return PKCS11_CKR_OK; in check_access_attrs_against_token()
1331 return PKCS11_CKR_OK; in check_created_attrs_against_token()
1411 return PKCS11_CKR_OK; in check_created_attrs_against_processing()
[all …]
A Dprocessing_symm.c96 return PKCS11_CKR_OK; in pkcs2tee_algorithm()
127 return PKCS11_CKR_OK; in pkcs2tee_key_type()
159 return PKCS11_CKR_OK; in pkcsmech2tee_key_type()
304 return PKCS11_CKR_OK; in hash_secret_helper()
412 return PKCS11_CKR_OK; in load_tee_key()
484 return PKCS11_CKR_OK; in tee_init_derive_symm()
527 return PKCS11_CKR_OK; in input_hmac_len_is_valid()
549 rc = PKCS11_CKR_OK; in init_tee_operation()
577 rc = PKCS11_CKR_OK; in init_tee_operation()
584 rc = PKCS11_CKR_OK; in init_tee_operation()
[all …]
A Dprocessing_digest.c58 return PKCS11_CKR_OK; in pkcs2tee_algorithm()
177 return PKCS11_CKR_OK; in step_digest_operation()
181 return PKCS11_CKR_OK; in step_digest_operation()
184 return PKCS11_CKR_OK; in step_digest_operation()
209 if (rc == PKCS11_CKR_OK || rc == PKCS11_CKR_BUFFER_TOO_SMALL) in step_digest_operation()
A Dpersistent_token.c95 return PKCS11_CKR_OK; in do_hash()
102 enum pkcs11_rc rc = PKCS11_CKR_OK; in hash_pin()
120 enum pkcs11_rc rc = PKCS11_CKR_OK; in verify_pin()
150 return PKCS11_CKR_OK; in setup_so_identity_auth_from_client()
251 return PKCS11_CKR_OK; in setup_identity_auth_from_pin()
282 return PKCS11_CKR_OK; in verify_identity_auth()
325 return PKCS11_CKR_OK; in create_object_uuid()
350 return PKCS11_CKR_OK; in get_persistent_objects_list()
363 return PKCS11_CKR_OK; in unregister_persistent_object()
478 return PKCS11_CKR_OK; in load_persistent_object_attributes()
[all …]
A Dsanitize_object.c68 return PKCS11_CKR_OK; in read_attr_advance()
81 enum pkcs11_rc rc = PKCS11_CKR_OK; in sanitize_class_and_type()
160 return PKCS11_CKR_OK; in sanitize_class_and_type()
175 enum pkcs11_rc rc = PKCS11_CKR_OK; in sanitize_boolprops()
223 return PKCS11_CKR_OK; in sanitize_boolprops()
231 enum pkcs11_rc rc = PKCS11_CKR_OK; in sanitize_indirect_attr()
255 enum pkcs11_rc rc = PKCS11_CKR_OK; in sanitize_client_object()
A Dprocessing_aes.c21 enum pkcs11_rc rc = PKCS11_CKR_OK; in tee_init_ctr_operation()
51 return PKCS11_CKR_OK; in tee_init_ctr_operation()
A Dprocessing_asymm.c129 rc = PKCS11_CKR_OK; in pkcs2tee_algorithm()
182 return PKCS11_CKR_OK; in pkcs2tee_key_type()
337 return PKCS11_CKR_OK; in load_tee_key()
350 enum pkcs11_rc rc = PKCS11_CKR_OK; in init_tee_operation()
529 rc = PKCS11_CKR_OK; in step_asymm_operation()
576 if (rc != PKCS11_CKR_OK) in step_asymm_operation()
760 (rc == PKCS11_CKR_OK || rc == PKCS11_CKR_BUFFER_TOO_SMALL)) { in step_asymm_operation()
A Dprocessing.c27 return PKCS11_CKR_OK; in get_ready_session()
97 rc = PKCS11_CKR_OK; in get_active_session()
182 if (rc != PKCS11_CKR_OK && rc != PKCS11_RV_NOT_FOUND) in generate_random_key_value()
588 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_processing_init()
663 if (rc == PKCS11_CKR_OK) { in entry_processing_init()
694 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_processing_step()
760 if (rc == PKCS11_CKR_OK && (step == PKCS11_FUNC_STEP_UPDATE || in entry_processing_step()
1038 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_release_active_processing()
1070 return PKCS11_CKR_OK; in entry_release_active_processing()
1216 if (rc == PKCS11_CKR_OK && size != 0) { in entry_wrap_key()
[all …]
A Dobject.c285 return PKCS11_CKR_OK; in create_object()
305 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_create_object()
408 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_destroy_object()
485 return PKCS11_CKR_OK; in find_ctx_add()
642 rc = PKCS11_CKR_OK; in entry_find_objects_init()
699 return PKCS11_CKR_OK; in entry_find_objects()
737 return PKCS11_CKR_OK; in entry_find_objects_final()
860 case PKCS11_CKR_OK: in entry_get_attribute_value()
890 rc = PKCS11_CKR_OK; in entry_get_attribute_value()
957 return PKCS11_CKR_OK; in entry_get_object_size()
[all …]
A Dprocessing_ec.c354 rc = PKCS11_CKR_OK; in load_tee_ec_key_attrs()
384 rc = PKCS11_CKR_OK; in load_tee_ec_key_attrs()
393 if (rc == PKCS11_CKR_OK) { in load_tee_ec_key_attrs()
444 return PKCS11_CKR_OK; in pkcs2tee_algo_ecdsa()
A Dpkcs11_helpers.c248 PKCS11_ID(PKCS11_CKR_OK),
377 return PKCS11_CKR_OK; in tee2pkcs_error()
658 enum pkcs11_rc rc = PKCS11_CKR_OK; in pkcs2tee_load_hashed_attr()
680 return PKCS11_CKR_OK; in pkcs2tee_load_hashed_attr()
A Dentry.c74 return PKCS11_CKR_OK; in entry_ping()
/optee_os/ta/pkcs11/include/
A Dpkcs11_ta.h723 PKCS11_CKR_OK = 0, enumerator

Completed in 29 milliseconds