Home
last modified time | relevance | path

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

/optee_os-3.20.0/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()
161 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()
313 return PKCS11_CKR_OK; in pkcs2tee_proc_params_rsa_aes_wrap()
409 return PKCS11_CKR_OK; in pkcs2tee_algo_rsa_oaep()
[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 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 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 Dprocessing_digest.c58 return PKCS11_CKR_OK; in pkcs2tee_algorithm()
183 return PKCS11_CKR_OK; in step_digest_operation()
187 return PKCS11_CKR_OK; in step_digest_operation()
190 return PKCS11_CKR_OK; in step_digest_operation()
215 if (rc == PKCS11_CKR_OK || rc == PKCS11_CKR_BUFFER_TOO_SMALL) in step_digest_operation()
A Dprocessing_symm.c94 return PKCS11_CKR_OK; in pkcs2tee_algorithm()
125 return PKCS11_CKR_OK; in pkcs2tee_key_type()
157 return PKCS11_CKR_OK; in pkcsmech2tee_key_type()
302 return PKCS11_CKR_OK; in hash_secret_helper()
410 return PKCS11_CKR_OK; in load_tee_key()
482 return PKCS11_CKR_OK; in tee_init_derive_symm()
525 return PKCS11_CKR_OK; in input_hmac_len_is_valid()
547 rc = PKCS11_CKR_OK; in init_tee_operation()
575 rc = PKCS11_CKR_OK; in init_tee_operation()
582 rc = PKCS11_CKR_OK; in init_tee_operation()
[all …]
A Dpkcs11_attributes.c73 return PKCS11_CKR_OK; in check_mechanism_against_processing()
133 return PKCS11_CKR_OK; in check_mechanism_against_processing()
147 return PKCS11_CKR_OK; in check_mechanism_against_processing()
267 return PKCS11_CKR_OK; in get_default_value()
288 rc = PKCS11_CKR_OK; in set_optional_attributes_with_def()
907 return PKCS11_CKR_OK; in sanitize_symm_key_attributes()
1275 return PKCS11_CKR_OK; in check_attrs_misc_integrity()
1325 return PKCS11_CKR_OK; in check_access_attrs_against_token()
1357 return PKCS11_CKR_OK; in check_created_attrs_against_token()
1444 return PKCS11_CKR_OK; in check_created_attrs_against_processing()
[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_ec.c372 rc = PKCS11_CKR_OK; in load_tee_ec_key_attrs()
402 rc = PKCS11_CKR_OK; in load_tee_ec_key_attrs()
411 if (rc == PKCS11_CKR_OK) { in load_tee_ec_key_attrs()
462 return PKCS11_CKR_OK; in pkcs2tee_algo_ecdsa()
668 rc = PKCS11_CKR_OK; in load_tee_eddsa_key_attrs()
689 rc = PKCS11_CKR_OK; in load_tee_eddsa_key_attrs()
698 if (rc == PKCS11_CKR_OK) { in load_tee_eddsa_key_attrs()
824 return PKCS11_CKR_OK; in pkcs2tee_proc_params_eddsa()
903 return PKCS11_CKR_OK; in pkcs2tee_param_ecdh()
947 return PKCS11_CKR_OK; in pkcs2tee_algo_ecdh()
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 Dprocessing.c27 return PKCS11_CKR_OK; in get_ready_session()
97 rc = PKCS11_CKR_OK; in get_active_session()
188 if (rc != PKCS11_CKR_OK && rc != PKCS11_RV_NOT_FOUND) in generate_random_key_value()
596 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_processing_init()
671 if (rc == PKCS11_CKR_OK) { in entry_processing_init()
701 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_processing_step()
767 if (rc == PKCS11_CKR_OK && (step == PKCS11_FUNC_STEP_UPDATE || in entry_processing_step()
1072 enum pkcs11_rc rc = PKCS11_CKR_OK; in entry_release_active_processing()
1104 return PKCS11_CKR_OK; in entry_release_active_processing()
1249 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_asymm.c143 rc = PKCS11_CKR_OK; in pkcs2tee_algorithm()
207 return PKCS11_CKR_OK; in pkcs2tee_key_type()
371 return PKCS11_CKR_OK; in load_tee_key()
384 enum pkcs11_rc rc = PKCS11_CKR_OK; in init_tee_operation()
617 rc = PKCS11_CKR_OK; in step_asymm_operation()
664 if (rc != PKCS11_CKR_OK) in step_asymm_operation()
849 (rc == PKCS11_CKR_OK || rc == PKCS11_CKR_BUFFER_TOO_SMALL)) { in step_asymm_operation()
945 enum pkcs11_rc rc = PKCS11_CKR_OK; in wrap_rsa_aes_key()
1018 enum pkcs11_rc rc = PKCS11_CKR_OK; in unwrap_rsa_aes_key()
A Dpkcs11_helpers.c248 PKCS11_ID(PKCS11_CKR_OK),
379 return PKCS11_CKR_OK; in tee2pkcs_error()
661 enum pkcs11_rc rc = PKCS11_CKR_OK; in pkcs2tee_load_hashed_attr()
683 return PKCS11_CKR_OK; in pkcs2tee_load_hashed_attr()
A Dentry.c74 return PKCS11_CKR_OK; in entry_ping()
/optee_os-3.20.0/ta/pkcs11/include/
A Dpkcs11_ta.h723 PKCS11_CKR_OK = 0, enumerator

Completed in 31 milliseconds