/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSessionManager.c | 38 meta_session_t *meta_sessionlist_head; 110 meta_handle2session(CK_SESSION_HANDLE hSession, meta_session_t **session) in meta_handle2session() 112 meta_session_t *tmp_session = (meta_session_t *)(hSession); in meta_handle2session() 145 meta_session_alloc(meta_session_t **session) in meta_session_alloc() 147 meta_session_t *new_session; in meta_session_alloc() 150 new_session = calloc(1, sizeof (meta_session_t)); in meta_session_alloc() 178 meta_session_activate(meta_session_t *session) in meta_session_activate() 196 meta_session_deactivate(meta_session_t *session, in meta_session_deactivate() 304 meta_session_dealloc(meta_session_t *session) in meta_session_dealloc() 335 meta_session_delay_free(meta_session_t *sp) in meta_session_delay_free() [all …]
|
H A D | metaCrypt.c | 44 meta_session_t *session; in meta_EncryptInit() 79 meta_session_t *session; in meta_Encrypt() 121 meta_session_t *session; in meta_EncryptUpdate() 151 meta_session_t *session; in meta_EncryptFinal() 181 meta_session_t *session; in meta_DecryptInit() 216 meta_session_t *session; in meta_Decrypt() 247 meta_session_t *session; in meta_DecryptUpdate() 277 meta_session_t *session; in meta_DecryptFinal()
|
H A D | metaGlobal.h | 231 typedef struct metasession meta_session_t; typedef 393 meta_session_t *creator_session; /* Only set for session objects */ 541 meta_session_t *first; /* points to first session in the list */ 542 meta_session_t *last; /* points to last session in the list */ 585 CK_RV meta_operation_init(CK_FLAGS optype, meta_session_t *session, 587 CK_RV meta_operation_init_defer(CK_FLAGS optype, meta_session_t *session, 590 meta_session_t *session, meta_object_t *object, 593 void meta_operation_cleanup(meta_session_t *session, CK_FLAGS optype, 596 CK_RV meta_generate_keys(meta_session_t *session, CK_MECHANISM *pMechanism, 600 CK_RV meta_wrap_key(meta_session_t *session, [all …]
|
H A D | metaSign.c | 43 meta_session_t *session; in meta_SignInit() 78 meta_session_t *session; in meta_Sign() 108 meta_session_t *session; in meta_SignUpdate() 138 meta_session_t *session; in meta_SignFinal() 167 meta_session_t *session; in meta_SignRecoverInit() 201 meta_session_t *session; in meta_SignRecover()
|
H A D | metaDigest.c | 43 meta_session_t *session; in meta_DigestInit() 69 meta_session_t *session; in meta_Digest() 97 meta_session_t *session; in meta_DigestUpdate() 130 meta_session_t *session; in meta_DigestKey() 163 meta_session_t *session; in meta_DigestFinal()
|
H A D | metaVerify.c | 43 meta_session_t *session; in meta_VerifyInit() 77 meta_session_t *session; in meta_Verify() 108 meta_session_t *session; in meta_VerifyUpdate() 138 meta_session_t *session; in meta_VerifyFinal() 172 meta_session_t *session; in meta_VerifyRecoverInit() 206 meta_session_t *session; in meta_VerifyRecover()
|
H A D | metaSession.c | 34 extern meta_session_t *meta_sessionlist_head; 53 meta_session_t *new_session; in meta_OpenSession() 109 meta_session_t *session; in meta_CloseSession() 144 meta_session_t *session; in meta_CloseAllSessions() 183 meta_session_t *session; in meta_GetSessionInfo() 217 meta_getopstatelen(meta_session_t *session, CK_ULONG *out_length) in meta_getopstatelen() 243 meta_session_t *session; in meta_GetOperationState() 419 meta_session_t *session; in meta_SetOperationState() 512 meta_session_t *session; in meta_Login() 586 meta_session_t *session; in meta_Logout()
|
H A D | metaRand.c | 61 meta_session_t *session; in meta_SeedRandom() 95 meta_session_t *session; in meta_GenerateRandom()
|
H A D | metaKeys.c | 43 meta_session_t *session; in meta_GenerateKey() 90 meta_session_t *session; in meta_GenerateKeyPair() 145 meta_session_t *session; in meta_WrapKey() 191 meta_session_t *session; in meta_UnwrapKey() 251 meta_session_t *session; in meta_DeriveKey()
|
H A D | metaObject.c | 116 meta_session_t *session; in meta_CreateObject() 347 meta_session_t *session; in meta_CopyObject() 610 meta_session_t *session; in meta_DestroyObject() 674 meta_session_t *session; in meta_GetAttributeValue() 730 meta_session_t *session; in meta_SetAttributeValue() 967 meta_session_t *session) in process_find_results() 1030 meta_search_for_objects(meta_session_t *session, find_objs_info_t *info, in meta_search_for_objects() 1099 meta_session_t *session; in meta_FindObjectsInit() 1233 meta_session_t *session; in meta_FindObjects() 1278 meta_session_t *session; in meta_FindObjectsFinal()
|
H A D | metaGeneral.c | 37 extern meta_session_t *meta_sessionlist_head; 193 meta_session_t *delay_free_ses, *tmps; in meta_Finalize()
|
H A D | metaUtil.c | 37 meta_operation_init_defer(CK_FLAGS optype, meta_session_t *session, in meta_operation_init_defer() 110 meta_operation_init(CK_FLAGS optype, meta_session_t *session, in meta_operation_init() 327 meta_operation_init_softtoken(CK_FLAGS optype, meta_session_t *session, in meta_operation_init_softtoken() 510 meta_session_t *session, meta_object_t *object, in meta_do_operation() 741 free_session_mechanism(meta_session_t *session) in free_session_mechanism() 762 meta_operation_cleanup(meta_session_t *session, CK_FLAGS optype, in meta_operation_cleanup() 919 meta_generate_keys(meta_session_t *session, CK_MECHANISM *pMechanism, in meta_generate_keys() 1187 meta_wrap_key(meta_session_t *session, CK_MECHANISM *pMechanism, in meta_wrap_key() 1300 meta_unwrap_key(meta_session_t *session, in meta_unwrap_key() 1454 meta_derive_key(meta_session_t *session, CK_MECHANISM *pMechanism, in meta_derive_key()
|
H A D | metaObjectManager.c | 54 extern meta_session_t *meta_sessionlist_head; 223 meta_object_alloc(meta_session_t *session, meta_object_t **object) in meta_object_alloc() 548 meta_object_dealloc(meta_session_t *session, meta_object_t *object, in meta_object_dealloc() 1257 meta_session_t *tmp_meta_session = NULL; in clone_by_wrap() 1676 meta_session_t *session; in meta_object_find_by_handle() 1826 meta_freeobject_check(meta_session_t *session, meta_object_t *object, in meta_freeobject_check() 2013 meta_freeobject_clone_maker(meta_session_t *session, meta_object_t *object, in meta_freeobject_clone_maker() 2053 meta_freeobject_clone(meta_session_t *session, meta_object_t *object) in meta_freeobject_clone()
|
H A D | metaSlotToken.c | 380 meta_session_t *session; in meta_SetPIN()
|