Home
last modified time | relevance | path

Searched defs:session_p (Results 1 – 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDigestUtil.c59 soft_digest_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism) in soft_digest_init()
176 soft_digest_common(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_digest_common()
353 soft_digest(soft_session_t *session_p, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in soft_digest()
379 soft_digest_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_digest_update()
439 soft_digest_final(soft_session_t *session_p, CK_BYTE_PTR pDigest, in soft_digest_final()
456 soft_digest_init_internal(soft_session_t *session_p, in soft_digest_init_internal()
489 soft_digest_key(soft_session_t *session_p, soft_object_t *key_p) in soft_digest_key()
515 soft_digest_cleanup(soft_session_t *session_p, boolean_t lock_held) in soft_digest_cleanup()
H A DsoftSignUtil.c55 soft_sign_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_sign_init()
135 soft_sign(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_sign()
272 soft_sign_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_sign_update()
344 soft_sign_final(soft_session_t *session_p, CK_BYTE_PTR pSignature, in soft_sign_final()
450 soft_sign_recover_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_sign_recover_init()
469 soft_sign_recover(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_sign_recover()
495 soft_sign_verify_cleanup(soft_session_t *session_p, boolean_t sign, in soft_sign_verify_cleanup()
H A DsoftObject.c46 soft_session_t *session_p; in C_CreateObject() local
85 soft_session_t *session_p; in C_CopyObject() local
214 soft_session_t *session_p; in C_DestroyObject() local
329 soft_session_t *session_p; in C_GetAttributeValue() local
410 soft_session_t *session_p; in C_SetAttributeValue() local
560 soft_session_t *session_p; in C_FindObjectsInit() local
620 soft_session_t *session_p; in C_FindObjects() local
673 soft_session_t *session_p; in C_FindObjectsFinal() local
H A DsoftEncryptUtil.c60 soft_encrypt_init_internal(soft_session_t *session_p, CK_MECHANISM_PTR in soft_encrypt_init_internal()
109 soft_encrypt_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_encrypt_init()
292 soft_encrypt_common(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_encrypt_common()
383 soft_encrypt(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_encrypt()
410 soft_encrypt_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_encrypt_update()
463 soft_encrypt_final(soft_session_t *session_p, CK_BYTE_PTR pLastEncryptedPart, in soft_encrypt_final()
646 soft_crypt_cleanup(soft_session_t *session_p, boolean_t encrypt, in soft_crypt_cleanup()
H A DsoftSessionUtil.c61 soft_session_t *session_p; in soft_delete_all_sessions() local
249 soft_delete_session(soft_session_t *session_p, in soft_delete_session()
420 handle2session(CK_SESSION_HANDLE hSession, soft_session_t **session_p) in handle2session()
470 soft_get_operationstate(soft_session_t *session_p, CK_BYTE_PTR pOperationState, in soft_get_operationstate()
608 soft_set_operationstate(soft_session_t *session_p, CK_BYTE_PTR pOperationState, in soft_set_operationstate()
742 soft_acquire_all_session_mutexes(soft_session_t *session_p) in soft_acquire_all_session_mutexes()
761 soft_release_all_session_mutexes(soft_session_t *session_p) in soft_release_all_session_mutexes()
H A DsoftSign.c40 soft_session_t *session_p; in C_SignInit() local
109 soft_session_t *session_p; in C_Sign() local
180 soft_session_t *session_p; in C_SignUpdate() local
239 soft_session_t *session_p; in C_SignFinal() local
297 soft_session_t *session_p; in C_SignRecoverInit() local
366 soft_session_t *session_p; in C_SignRecover() local
H A DsoftVerify.c40 soft_session_t *session_p; in C_VerifyInit() local
109 soft_session_t *session_p; in C_Verify() local
168 soft_session_t *session_p; in C_VerifyUpdate() local
227 soft_session_t *session_p; in C_VerifyFinal() local
268 soft_session_t *session_p; in C_VerifyRecoverInit() local
337 soft_session_t *session_p; in C_VerifyRecover() local
H A DsoftDigest.c39 soft_session_t *session_p; in C_DigestInit() local
110 soft_session_t *session_p; in C_Digest() local
209 soft_session_t *session_p; in C_DigestUpdate() local
287 soft_session_t *session_p; in C_DigestKey() local
372 soft_session_t *session_p; in C_DigestFinal() local
H A DsoftSession.c76 soft_session_t *session_p; in C_CloseSession() local
185 soft_session_t *session_p; in C_GetSessionInfo() local
230 soft_session_t *session_p; in C_GetOperationState() local
271 soft_session_t *session_p; in C_SetOperationState() local
305 soft_session_t *session_p, *sp; in C_Login() local
409 soft_session_t *session_p, *sp; in C_Logout() local
H A DsoftVerifyUtil.c56 soft_verify_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_verify_init()
136 soft_verify(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_verify()
288 soft_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_verify_update()
360 soft_verify_final(soft_session_t *session_p, CK_BYTE_PTR pSignature, in soft_verify_final()
484 soft_verify_recover_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_verify_recover_init()
503 soft_verify_recover(soft_session_t *session_p, CK_BYTE_PTR pSignature, in soft_verify_recover()
H A DsoftDecryptUtil.c84 soft_decrypt_init(soft_session_t *session_p, CK_MECHANISM_PTR pMechanism, in soft_decrypt_init()
269 soft_decrypt_common(soft_session_t *session_p, CK_BYTE_PTR pEncrypted, in soft_decrypt_common()
361 soft_decrypt(soft_session_t *session_p, CK_BYTE_PTR pEncryptedData, in soft_decrypt()
389 soft_decrypt_update(soft_session_t *session_p, CK_BYTE_PTR pEncryptedPart, in soft_decrypt_update()
439 soft_decrypt_final(soft_session_t *session_p, CK_BYTE_PTR pLastPart, in soft_decrypt_final()
H A DsoftDecrypt.c40 soft_session_t *session_p; in C_DecryptInit() local
109 soft_session_t *session_p; in C_Decrypt() local
197 soft_session_t *session_p; in C_DecryptUpdate() local
275 soft_session_t *session_p; in C_DecryptFinal() local
H A DsoftEncrypt.c42 soft_session_t *session_p; in C_EncryptInit() local
111 soft_session_t *session_p; in C_Encrypt() local
199 soft_session_t *session_p; in C_EncryptUpdate() local
278 soft_session_t *session_p; in C_EncryptFinal() local
H A DsoftKeys.c39 soft_session_t *session_p; in C_GenerateKey() local
78 soft_session_t *session_p; in C_GenerateKeyPair() local
122 soft_session_t *session_p; in C_WrapKey() local
224 soft_session_t *session_p; in C_UnwrapKey() local
324 soft_session_t *session_p; in C_DeriveKey() local
H A DsoftAESCrypt.c276 soft_aes_crypt_init_common(soft_session_t *session_p, in soft_aes_crypt_init_common()
324 soft_aes_encrypt(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_aes_encrypt()
635 soft_aes_decrypt(soft_session_t *session_p, CK_BYTE_PTR pEncryptedData, in soft_aes_decrypt()
800 soft_aes_encrypt_update(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_aes_encrypt_update()
883 soft_aes_decrypt_update(soft_session_t *session_p, CK_BYTE_PTR pEncryptedData, in soft_aes_decrypt_update()
1147 soft_aes_encrypt_final(soft_session_t *session_p, in soft_aes_encrypt_final()
1267 soft_aes_decrypt_final(soft_session_t *session_p, CK_BYTE_PTR pLastPart, in soft_aes_decrypt_final()
1450 soft_aes_sign_verify_init_common(soft_session_t *session_p, in soft_aes_sign_verify_init_common()
1521 soft_aes_sign_verify_common(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_aes_sign_verify_common()
1598 soft_aes_mac_sign_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_aes_mac_sign_verify_update()
H A DsoftDESCrypt.c45 soft_des_crypt_init_common(soft_session_t *session_p, in soft_des_crypt_init_common()
177 soft_des_encrypt_common(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_des_encrypt_common()
487 soft_des_decrypt_common(soft_session_t *session_p, CK_BYTE_PTR pEncrypted, in soft_des_decrypt_common()
818 soft_des_sign_verify_init_common(soft_session_t *session_p, in soft_des_sign_verify_init_common()
904 soft_des_sign_verify_common(soft_session_t *session_p, CK_BYTE_PTR pData, in soft_des_sign_verify_common()
1052 soft_des_mac_sign_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_des_mac_sign_verify_update()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSession.c85 kernel_session_t *session_p; in C_CloseSession() local
152 get_ses_state(kernel_session_t *session_p) in get_ses_state()
179 kernel_session_t *session_p; in C_GetSessionInfo() local
219 kernel_get_operationstate(kernel_session_t *session_p, CK_STATE ses_state, in kernel_get_operationstate()
311 kernel_session_t *session_p; in C_GetOperationState() local
346 kernel_set_operationstate(kernel_session_t *session_p, CK_STATE ses_state, in kernel_set_operationstate()
412 kernel_session_t *session_p; in C_SetOperationState() local
444 kernel_session_t *session_p; in C_Login() local
535 kernel_session_t *session_p; in C_Logout() local
H A DkernelObject.c46 kernel_session_t *session_p; in C_CreateObject() local
85 kernel_session_t *session_p; in C_CopyObject() local
303 kernel_session_t *session_p = (kernel_session_t *)(hSession); in C_DestroyObject() local
400 kernel_session_t *session_p; in C_GetAttributeValue() local
520 kernel_session_t *session_p; in C_SetAttributeValue() local
656 kernel_session_t *session_p; in C_GetObjectSize() local
735 kernel_session_t *session_p; in C_FindObjectsInit() local
830 kernel_session_t *session_p; in C_FindObjects() local
928 kernel_session_t *session_p; in C_FindObjectsFinal() local
H A DkernelSoftCommon.c49 soft_session_t *session_p; in do_soft_digest() local
110 soft_session_t *session_p; in do_soft_hmac_init() local
149 soft_session_t *session_p; in do_soft_hmac_update() local
168 soft_session_t *session_p; in do_soft_hmac_sign() local
195 soft_session_t *session_p; in do_soft_hmac_verify() local
229 soft_session_t *session_p; in free_soft_ctx() local
H A DkernelDecrypt.c41 kernel_decrypt_init(kernel_session_t *session_p, kernel_object_t *key_p, in kernel_decrypt_init()
177 kernel_session_t *session_p; in C_DecryptInit() local
210 kernel_decrypt(kernel_session_t *session_p, CK_BYTE_PTR pEncryptedData, in kernel_decrypt()
296 kernel_session_t *session_p; in C_Decrypt() local
353 kernel_session_t *session_p; in C_DecryptUpdate() local
454 kernel_session_t *session_p; in C_DecryptFinal() local
H A DkernelVerify.c41 kernel_session_t *session_p; in C_VerifyInit() local
184 kernel_session_t *session_p; in C_Verify() local
278 kernel_session_t *session_p; in C_VerifyUpdate() local
362 kernel_session_t *session_p; in C_VerifyFinal() local
459 kernel_session_t *session_p; in C_VerifyRecoverInit() local
568 kernel_session_t *session_p; in C_VerifyRecover() local
H A DkernelSign.c40 kernel_session_t *session_p; in C_SignInit() local
180 kernel_session_t *session_p; in C_Sign() local
296 kernel_session_t *session_p; in C_SignUpdate() local
379 kernel_session_t *session_p; in C_SignFinal() local
503 kernel_session_t *session_p; in C_SignRecoverInit() local
610 kernel_session_t *session_p; in C_SignRecover() local
H A DkernelSessionUtil.c52 kernel_session_t *session_p; in kernel_delete_all_sessions() local
180 kernel_delete_session(CK_SLOT_ID slotID, kernel_session_t *session_p, in kernel_delete_session()
405 handle2session(CK_SESSION_HANDLE hSession, kernel_session_t **session_p) in handle2session()
482 kernel_session_t *session_p; in kernel_acquire_all_slots_mutexes() local
515 kernel_session_t *session_p; in kernel_release_all_slots_mutexes() local
H A DkernelDigest.c41 kernel_session_t *session_p; in common_digest_init() local
146 kernel_session_t *session_p; in C_Digest() local
301 kernel_session_t *session_p; in C_DigestUpdate() local
403 kernel_session_t *session_p; in C_DigestKey() local
569 kernel_session_t *session_p; in C_DigestFinal() local
H A DkernelEncrypt.c43 kernel_session_t *session_p; in C_EncryptInit() local
195 kernel_session_t *session_p; in C_Encrypt() local
327 kernel_session_t *session_p; in C_EncryptUpdate() local
429 kernel_session_t *session_p; in C_EncryptFinal() local

12