Home
last modified time | relevance | path

Searched refs:token (Results 1 – 7 of 7) sorted by relevance

/optee_os-3.20.0/ta/pkcs11/src/
A Dpersistent_token.c65 sizeof(*token->db_main)); in update_persistent_db()
319 obj->token = token; in create_object_uuid()
404 TEE_Free(token->db_objs); in unregister_persistent_object()
405 token->db_objs = ptr; in unregister_persistent_object()
434 token->db_objs = ptr; in register_persistent_object()
454 token->db_objs->count++; in register_persistent_object()
460 token->db_objs->count--; in register_persistent_object()
588 if (!token) in init_persistent_db()
701 token->db_main = db_main; in init_persistent_db()
702 token->db_objs = db_objs; in init_persistent_db()
[all …]
A Dpkcs11_token.c554 if (sess->token == session->token) { in set_session_state()
653 session->token = token; in entry_ck_open_session()
759 if (session->token == token) in entry_ck_close_all_sessions()
859 if (sess->token == token) in entry_ck_token_initialize()
967 struct ck_token *token = session->token; in set_pin() local
1078 struct ck_token *token = session->token; in check_so_pin() local
1136 struct ck_token *token = session->token; in check_user_pin() local
1272 if (sess->token != session->token) in session_login_user()
1288 if (sess->token != session->token) in session_login_so()
1308 if (sess->token != session->token) in session_logout()
[all …]
A Dpkcs11_token.h187 struct ck_token *token; member
203 unsigned int get_token_id(struct ck_token *token);
210 void update_persistent_db(struct ck_token *token);
211 void close_persistent_db(struct ck_token *token);
231 enum pkcs11_rc verify_identity_auth(struct ck_token *token,
241 setup_identity_auth_from_pin(struct ck_token *token __unused, in setup_identity_auth_from_pin()
250 verify_identity_auth(struct ck_token *token __unused, in verify_identity_auth()
258 enum pkcs11_rc create_object_uuid(struct ck_token *token,
263 enum pkcs11_rc register_persistent_object(struct ck_token *token,
265 enum pkcs11_rc get_persistent_objects_list(struct ck_token *token,
[all …]
A Dobject.h32 struct ck_token *token; member
47 struct ck_token *token);
53 struct ck_token *token);
A Dobject.c46 if (!object->token) in pkcs11_handle2object()
53 if (object->token != get_session_token(session)) in pkcs11_handle2object()
103 struct ck_token *token) in cleanup_persistent_object() argument
122 destroy_object_uuid(token, obj); in cleanup_persistent_object()
162 cleanup_persistent_object(obj, session->token); in destroy_object()
171 struct ck_token *token) in create_obj_instance() argument
182 obj->token = token; in create_obj_instance()
189 struct ck_token *token) in create_token_object() argument
291 cleanup_persistent_object(obj, session->token); in create_object()
582 if (obj->token) in entry_find_objects_init()
[all …]
/optee_os-3.20.0/mk/
A Dclang.mk28 comp-cflags-warns-clang := -Wno-language-extension-token \
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog986 PKCS#11 token such as a smartcard.

Completed in 19 milliseconds