/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelDigest.c | 42 boolean_t ses_lock_held = B_FALSE; in common_digest_init() local 70 ses_lock_held = B_TRUE; in common_digest_init() 85 REFRELE(session_p, ses_lock_held); in common_digest_init() 91 ses_lock_held = B_FALSE; in common_digest_init() 116 ses_lock_held = B_TRUE; in common_digest_init() 123 REFRELE(session_p, ses_lock_held); in common_digest_init() 131 REFRELE(session_p, ses_lock_held); in common_digest_init() 147 boolean_t ses_lock_held = B_FALSE; in C_Digest() local 169 ses_lock_held = B_TRUE; in C_Digest() 178 REFRELE(session_p, ses_lock_held); in C_Digest() [all …]
|
H A D | kernelVerify.c | 43 boolean_t ses_lock_held = B_FALSE; in C_VerifyInit() local 68 REFRELE(session_p, ses_lock_held); in C_VerifyInit() 79 ses_lock_held = B_TRUE; in C_VerifyInit() 128 ses_lock_held = B_FALSE; in C_VerifyInit() 168 ses_lock_held = B_TRUE; in C_VerifyInit() 173 REFRELE(session_p, ses_lock_held); in C_VerifyInit() 185 boolean_t ses_lock_held = B_FALSE; in C_Verify() local 198 ses_lock_held = B_TRUE; in C_Verify() 202 REFRELE(session_p, ses_lock_held); in C_Verify() 217 REFRELE(session_p, ses_lock_held); in C_Verify() [all …]
|
H A D | kernelSign.c | 42 boolean_t ses_lock_held = B_FALSE; in C_SignInit() local 68 REFRELE(session_p, ses_lock_held); in C_SignInit() 79 ses_lock_held = B_TRUE; in C_SignInit() 88 ses_lock_held = B_FALSE; in C_SignInit() 164 ses_lock_held = B_TRUE; in C_SignInit() 169 REFRELE(session_p, ses_lock_held); in C_SignInit() 181 boolean_t ses_lock_held = B_FALSE; in C_Sign() local 199 ses_lock_held = B_TRUE; in C_Sign() 203 REFRELE(session_p, ses_lock_held); in C_Sign() 218 REFRELE(session_p, ses_lock_held); in C_Sign() [all …]
|
H A D | kernelDecrypt.c | 47 boolean_t ses_lock_held = B_FALSE; in kernel_decrypt_init() local 62 ses_lock_held = B_TRUE; in kernel_decrypt_init() 109 ses_lock_held = B_FALSE; in kernel_decrypt_init() 155 if (!ses_lock_held) { in kernel_decrypt_init() 157 ses_lock_held = B_TRUE; in kernel_decrypt_init() 163 if (ses_lock_held) { in kernel_decrypt_init() 165 ses_lock_held = B_FALSE; in kernel_decrypt_init() 179 boolean_t ses_lock_held = B_FALSE; in C_DecryptInit() local 200 REFRELE(session_p, ses_lock_held); in C_DecryptInit() 214 boolean_t ses_lock_held = B_FALSE; in kernel_decrypt() local [all …]
|
H A D | kernelEncrypt.c | 45 boolean_t ses_lock_held = B_FALSE; in C_EncryptInit() local 71 REFRELE(session_p, ses_lock_held); in C_EncryptInit() 82 ses_lock_held = B_TRUE; in C_EncryptInit() 128 ses_lock_held = B_FALSE; in C_EncryptInit() 175 ses_lock_held = B_TRUE; in C_EncryptInit() 184 REFRELE(session_p, ses_lock_held); in C_EncryptInit() 196 boolean_t ses_lock_held = B_FALSE; in C_Encrypt() local 230 ses_lock_held = B_TRUE; in C_Encrypt() 234 REFRELE(session_p, ses_lock_held); in C_Encrypt() 249 REFRELE(session_p, ses_lock_held); in C_Encrypt() [all …]
|
H A D | kernelObject.c | 47 boolean_t ses_lock_held = B_FALSE; in C_CreateObject() local 72 REFRELE(session_p, ses_lock_held); in C_CreateObject() 86 boolean_t ses_lock_held = B_FALSE; in C_CopyObject() local 119 REFRELE(session_p, ses_lock_held); in C_CopyObject() 141 REFRELE(session_p, ses_lock_held); in C_CopyObject() 161 REFRELE(session_p, ses_lock_held); in C_CopyObject() 174 REFRELE(session_p, ses_lock_held); in C_CopyObject() 188 REFRELE(session_p, ses_lock_held); in C_CopyObject() 266 REFRELE(session_p, ses_lock_held); in C_CopyObject() 278 REFRELE(session_p, ses_lock_held); in C_CopyObject() [all …]
|
H A D | kernelSession.c | 86 boolean_t ses_lock_held = B_FALSE; in C_CloseSession() local 100 ses_lock_held = B_TRUE; in C_CloseSession() 107 REFRELE(session_p, ses_lock_held); in C_CloseSession() 117 REFRELE(session_p, ses_lock_held); in C_CloseSession() 181 boolean_t ses_lock_held = B_FALSE; in C_GetSessionInfo() local 206 REFRELE(session_p, ses_lock_held); in C_GetSessionInfo() 312 boolean_t ses_lock_held = B_TRUE; in C_GetOperationState() local 334 REFRELE(session_p, ses_lock_held); in C_GetOperationState() 413 boolean_t ses_lock_held = B_TRUE; in C_SetOperationState() local 434 REFRELE(session_p, ses_lock_held); in C_SetOperationState() [all …]
|
H A D | kernelRand.c | 38 boolean_t ses_lock_held = B_FALSE; in C_SeedRandom() local 51 REFRELE(session_p, ses_lock_held); in C_SeedRandom() 74 REFRELE(session_p, ses_lock_held); in C_SeedRandom() 84 boolean_t ses_lock_held = B_FALSE; in C_GenerateRandom() local 97 REFRELE(session_p, ses_lock_held); in C_GenerateRandom() 121 REFRELE(session_p, ses_lock_held); in C_GenerateRandom()
|
H A D | kernelKeys.c | 367 boolean_t ses_lock_held = B_FALSE; in C_GenerateKey() local 497 REFRELE(session_p, ses_lock_held); in C_GenerateKey() 505 REFRELE(session_p, ses_lock_held); in C_GenerateKey() 1407 boolean_t ses_lock_held = B_FALSE; in C_GenerateKeyPair() local 1634 REFRELE(session_p, ses_lock_held); in C_GenerateKeyPair() 1644 REFRELE(session_p, ses_lock_held); in C_GenerateKeyPair() 1656 boolean_t ses_lock_held = B_FALSE; in C_WrapKey() local 1681 REFRELE(session_p, ses_lock_held); in C_WrapKey() 1688 REFRELE(session_p, ses_lock_held); in C_WrapKey() 1696 REFRELE(session_p, ses_lock_held); in C_WrapKey() [all …]
|
H A D | kernelSession.h | 143 #define REFRELE(s, ses_lock_held) { \ argument 144 if (!ses_lock_held) \
|
H A D | kernelSlotToken.c | 412 boolean_t ses_lock_held = B_FALSE; in C_SetPIN() local 430 REFRELE(session_p, ses_lock_held); in C_SetPIN() 436 ses_lock_held = B_TRUE; in C_SetPIN() 454 REFRELE(session_p, ses_lock_held); in C_SetPIN()
|
H A D | kernelObjectUtil.c | 466 boolean_t ses_lock_held, boolean_t wrapper_only) in kernel_delete_session_object() argument 475 if (!ses_lock_held) { in kernel_delete_session_object() 482 if (!ses_lock_held) { in kernel_delete_session_object()
|