Searched defs:hKey (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaDigest.c128 meta_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey) argument
138 rv = meta_handle2object(hKey, &key);
H A DmetaSign.c42 CK_OBJECT_HANDLE hKey)
55 rv = meta_handle2object(hKey, &key);
166 CK_OBJECT_HANDLE hKey)
179 rv = meta_handle2object(hKey, &key);
41 meta_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
165 meta_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DmetaVerify.c42 CK_OBJECT_HANDLE hKey)
55 rv = meta_handle2object(hKey, &key);
171 CK_OBJECT_HANDLE hKey)
184 rv = meta_handle2object(hKey, &key);
41 meta_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
170 meta_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A Dpkcs11Digest.c176 C_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey) argument
183 return (fast_funcs->C_DigestKey(hSession, hKey));
198 rv = FUNCLIST(sessp->se_slotid)->C_DigestKey(sessp->se_handle, hKey);
H A Dpkcs11Sign.c44 CK_OBJECT_HANDLE hKey)
57 return (fast_funcs->C_SignInit(hSession, pMechanism, hKey));
80 pMechanism, hKey);
222 CK_OBJECT_HANDLE hKey)
235 hKey));
258 pMechanism, hKey);
43 C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
221 C_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A Dpkcs11Verify.c44 CK_OBJECT_HANDLE hKey)
56 return (fast_funcs->C_VerifyInit(hSession, pMechanism, hKey));
79 pMechanism, hKey);
220 CK_OBJECT_HANDLE hKey)
233 hKey));
256 pMechanism, hKey);
43 C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
219 C_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A Dpkcs11Keys.c159 CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey,
173 hWrappingKey, hKey, pWrappedKey,
197 pMechanism, hWrappingKey, hKey, pWrappedKey, pulWrappedKeyLen);
158 C_WrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) argument
H A DmetaCrypt.c42 CK_OBJECT_HANDLE hKey)
55 rv = meta_handle2object(hKey, &key);
168 CK_OBJECT_HANDLE hKey)
181 rv = meta_handle2object(hKey, &key);
41 meta_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
167 meta_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A Dpkcs11Crypt.c46 CK_OBJECT_HANDLE hKey)
58 return (fast_funcs->C_EncryptInit(hSession, pMechanism, hKey));
81 pMechanism, hKey);
229 CK_OBJECT_HANDLE hKey)
241 return (fast_funcs->C_DecryptInit(hSession, pMechanism, hKey));
264 pMechanism, hKey);
44 C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
227 C_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DmetaKeys.c141 CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey,
155 rv = meta_handle2object(hKey, &inputKey);
140 meta_WrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) argument
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDigest.c282 C_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey) argument
302 HANDLE2OBJECT(hKey, key_p, rv);
H A DsoftSign.c36 CK_OBJECT_HANDLE hKey)
58 HANDLE2OBJECT(hKey, key_p, rv);
293 CK_OBJECT_HANDLE hKey)
315 HANDLE2OBJECT(hKey, key_p, rv);
35 C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
292 C_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DsoftVerify.c36 CK_OBJECT_HANDLE hKey)
58 HANDLE2OBJECT(hKey, key_p, rv);
264 CK_OBJECT_HANDLE hKey)
286 HANDLE2OBJECT(hKey, key_p, rv);
35 C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
263 C_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DsoftDecrypt.c36 CK_OBJECT_HANDLE hKey)
58 HANDLE2OBJECT(hKey, key_p, rv);
35 C_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DsoftEncrypt.c36 CK_OBJECT_HANDLE hKey)
58 HANDLE2OBJECT(hKey, key_p, rv);
35 C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DsoftKeys.c118 CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey,
153 HANDLE2OBJECT(hKey, hkey_p, rv);
117 C_WrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, CK_BYTE_PTR pWrappedKey, CK_ULONG_PTR pulWrappedKeyLen) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/crypto/
H A Dpbkdf2.c62 CK_OBJECT_HANDLE hKey; local
115 attrs, &hKey);
124 rv = C_GetAttributeValue(krb_ctx_hSession(context), hKey,
128 (void) C_DestroyObject(krb_ctx_hSession(context), hKey); local
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEncrypt.c38 CK_OBJECT_HANDLE hKey)
67 HANDLE2OBJECT(hKey, key_p, rv);
37 C_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DkernelSign.c37 CK_OBJECT_HANDLE hKey)
66 HANDLE2OBJECT(hKey, key_p, rv);
499 CK_OBJECT_HANDLE hKey)
528 HANDLE2OBJECT(hKey, key_p, rv);
36 C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
498 C_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DkernelDecrypt.c151 CK_OBJECT_HANDLE hKey)
172 HANDLE2OBJECT(hKey, key_p, rv);
150 C_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
H A DkernelDigest.c398 C_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey) argument
423 HANDLE2OBJECT(hKey, key_p, rv);
H A DkernelVerify.c38 CK_OBJECT_HANDLE hKey)
66 HANDLE2OBJECT(hKey, key_p, rv);
455 CK_OBJECT_HANDLE hKey)
484 HANDLE2OBJECT(hKey, key_p, rv);
37 C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
454 C_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hKey) argument
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dcrypt.c63 CK_OBJECT_HANDLE hKey; local
106 des_key, 8, &hKey);
112 rv = C_EncryptInit(hSession, &mechanism, hKey);
129 (void) C_DestroyObject(hSession, hKey);
134 (void) C_DestroyObject(hSession, hKey);
173 CK_OBJECT_HANDLE hKey; local
192 Key, KeyLen, &hKey);
197 rv = C_EncryptInit(hSession, &mechanism, hKey);
209 (void) C_DestroyObject(hSession, hKey);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_crypt.c86 CK_OBJECT_HANDLE hKey; local
99 key, key_len, &hKey);
106 rv = C_SignInit(hSession, &mechanism, hKey);
108 (void) C_DestroyObject(hSession, hKey);
114 (void) C_DestroyObject(hSession, hKey);
120 (void) C_DestroyObject(hSession, hKey);
124 (void) C_DestroyObject(hSession, hKey);
139 CK_OBJECT_HANDLE hKey; local
182 des_key, 8, &hKey);
188 rv = C_EncryptInit(hSession, &mechanism, hKey);
251 CK_OBJECT_HANDLE hKey; local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c25 CK_OBJECT_HANDLE *hKey)
59 hKey)) != CKR_OK) {
82 CK_OBJECT_HANDLE *kptr = NULL, hKey = CK_INVALID_HANDLE; local
117 kptr = (CK_OBJECT_HANDLE *)&hKey;
175 if (hKey != CK_INVALID_HANDLE)
176 (void)C_DestroyObject(session, hKey);
200 CK_OBJECT_HANDLE *kptr = NULL, hKey = CK_INVALID_HANDLE; local
221 kptr = (CK_OBJECT_HANDLE *)&hKey;
281 if (hKey != CK_INVALID_HANDLE)
282 (void)C_DestroyObject(session, hKey);
22 setup_arcfour_crypto(CK_SESSION_HANDLE session, const krb5_keyblock *key, KRB5_MECH_TO_PKCS *algos, CK_OBJECT_HANDLE *hKey) argument
[all...]

Completed in 82 milliseconds

12