Home
last modified time | relevance | path

Searched refs:CK_OBJECT_HANDLE (Results 1 – 25 of 78) sorted by relevance

1234

/titanic_50/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h230 CK_OBJECT_HANDLE hEncryptionKey, /* en/decryption key */
231 CK_OBJECT_HANDLE hAuthenticationKey /* sign/verify key */
278 CK_OBJECT_HANDLE hObject, /* the object's handle */
291 CK_OBJECT_HANDLE hObject /* the object's handle */
301 CK_OBJECT_HANDLE hObject, /* the object's handle */
313 CK_OBJECT_HANDLE hObject, /* the object's handle */
326 CK_OBJECT_HANDLE hObject, /* the object's handle */
378 CK_OBJECT_HANDLE hKey /* handle of encryption key */
428 CK_OBJECT_HANDLE hKey /* handle of decryption key */
517 CK_OBJECT_HANDLE hKey /* secret key to digest */
[all …]
H A Dpkcs11t.h322 typedef CK_ULONG CK_OBJECT_HANDLE; typedef
324 typedef CK_OBJECT_HANDLE CK_PTR CK_OBJECT_HANDLE_PTR;
1361 CK_OBJECT_HANDLE hPrivateData;
1375 CK_OBJECT_HANDLE hPrivateData;
1378 CK_OBJECT_HANDLE publicKey;
1418 CK_OBJECT_HANDLE hPrivateData;
1432 CK_OBJECT_HANDLE hPrivateData;
1435 CK_OBJECT_HANDLE publicKey;
1638 CK_OBJECT_HANDLE hClientMacSecret;
1639 CK_OBJECT_HANDLE hServerMacSecret;
[all …]
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaKeys.c65 *phKey = (CK_OBJECT_HANDLE) key; in meta_GenerateKey()
118 *phPublicKey = (CK_OBJECT_HANDLE) key1; in meta_GenerateKeyPair()
119 *phPrivateKey = (CK_OBJECT_HANDLE) key2; in meta_GenerateKeyPair()
141 CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, in meta_WrapKey()
186 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in meta_UnwrapKey()
222 *phKey = (CK_OBJECT_HANDLE) outputKey; in meta_UnwrapKey()
246 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, in meta_DeriveKey()
259 CK_OBJECT_HANDLE *phBaseKey2 = NULL; in meta_DeriveKey()
365 != sizeof (CK_OBJECT_HANDLE))) { in meta_DeriveKey()
375 phBaseKey2 = (CK_OBJECT_HANDLE *) &metaMech.pParameter; in meta_DeriveKey()
[all …]
H A DmetaGlobal.h264 CK_OBJECT_HANDLE hObject;
613 CK_OBJECT_HANDLE *phBaseKey2,
633 CK_RV meta_handle2object(CK_OBJECT_HANDLE hObject, meta_object_t **object);
636 CK_OBJECT_HANDLE hObject, meta_object_t *object);
651 meta_object_t *meta_object_find_by_handle(CK_OBJECT_HANDLE hObject,
728 CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey);
734 CK_RV meta_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject,
737 CK_RV meta_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject);
738 CK_RV meta_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject,
741 CK_OBJECT_HANDLE hObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount);
[all …]
H A Dpkcs11Object.c82 C_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_CopyObject()
123 C_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject) in C_DestroyObject()
161 C_GetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_GetAttributeValue()
202 C_SetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_SetAttributeValue()
242 C_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_GetObjectSize()
H A Dpkcs11Keys.c159 CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, in C_WrapKey()
215 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in C_UnwrapKey()
273 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, in C_DeriveKey()
H A DmetaObject.c120 CK_OBJECT_HANDLE hNewObject; in meta_CreateObject()
317 *phObject = (CK_OBJECT_HANDLE) object; in meta_CreateObject()
342 meta_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in meta_CopyObject()
576 *phNewObject = (CK_OBJECT_HANDLE) dst_object; in meta_CopyObject()
607 meta_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject) in meta_DestroyObject()
658 meta_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in meta_GetObjectSize()
670 meta_GetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in meta_GetAttributeValue()
726 meta_SetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in meta_SetAttributeValue()
964 process_find_results(CK_OBJECT_HANDLE *results, CK_ULONG num_results, in process_find_results()
1036 CK_OBJECT_HANDLE tmp_results[FIND_OBJ_BUF_SIZE]; in meta_search_for_objects()
[all …]
H A DmetaSign.c42 CK_OBJECT_HANDLE hKey) in meta_SignInit()
166 CK_OBJECT_HANDLE hKey) in meta_SignRecoverInit()
H A DmetaVerify.c42 CK_OBJECT_HANDLE hKey) in meta_VerifyInit()
171 CK_OBJECT_HANDLE hKey) in meta_VerifyRecoverInit()
H A Dpkcs11Sign.c44 CK_OBJECT_HANDLE hKey) in C_SignInit()
222 CK_OBJECT_HANDLE hKey) in C_SignRecoverInit()
H A Dpkcs11Verify.c44 CK_OBJECT_HANDLE hKey) in C_VerifyInit()
220 CK_OBJECT_HANDLE hKey) in C_VerifyRecoverInit()
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dtpmtok_int.h272 CK_OBJECT_HANDLE key;
295 CK_OBJECT_HANDLE key;
309 CK_OBJECT_HANDLE *find_list; // array of CK_OBJECT_HANDLE
343 CK_OBJECT_HANDLE handle;
768 CK_OBJECT_HANDLE);
781 CK_OBJECT_HANDLE);
807 CK_OBJECT_HANDLE);
817 CK_OBJECT_HANDLE *,
818 CK_OBJECT_HANDLE *);
823 CK_OBJECT_HANDLE,
[all …]
H A Dobj_mgr.c364 CK_OBJECT_HANDLE * handle) in object_mgr_add()
502 CK_OBJECT_HANDLE * handle) { in object_mgr_add_to_map()
545 CK_OBJECT_HANDLE old_handle, in object_mgr_copy()
546 CK_OBJECT_HANDLE * new_handle) in object_mgr_copy()
753 CK_OBJECT_HANDLE * handle) in object_mgr_create_final()
870 CK_OBJECT_HANDLE handle) in object_mgr_destroy_object()
965 CK_OBJECT_HANDLE handle; in object_mgr_destroy_token_objects()
981 CK_OBJECT_HANDLE handle; in object_mgr_destroy_token_objects()
1022 object_mgr_find_in_map_nocache(CK_OBJECT_HANDLE handle, in object_mgr_find_in_map_nocache()
1062 CK_OBJECT_HANDLE handle, in object_mgr_find_in_map1()
[all …]
H A Dkey_mgr.c65 CK_OBJECT_HANDLE * publ_key_handle, in key_mgr_generate_key_pair()
66 CK_OBJECT_HANDLE * priv_key_handle) in key_mgr_generate_key_pair()
235 CK_OBJECT_HANDLE h_wrapping_key, in key_mgr_wrap_key()
236 CK_OBJECT_HANDLE h_key, in key_mgr_wrap_key()
355 CK_OBJECT_HANDLE h_unwrapping_key, in key_mgr_unwrap_key()
356 CK_OBJECT_HANDLE * h_unwrapped_key) in key_mgr_unwrap_key()
H A Dapi_interface.c480 CK_OBJECT_HANDLE hObject, in C_CopyObject()
638 CK_OBJECT_HANDLE hKey) in C_DecryptInit()
723 CK_OBJECT_HANDLE hBaseKey, in C_DeriveKey()
755 CK_OBJECT_HANDLE hObject) in C_DestroyObject()
878 CK_OBJECT_HANDLE hKey) in C_DigestKey()
971 CK_OBJECT_HANDLE hKey) in C_EncryptInit()
1213 CK_OBJECT_HANDLE hObject, in C_GetAttributeValue()
1429 CK_OBJECT_HANDLE hObject, in C_GetObjectSize()
1829 CK_OBJECT_HANDLE hObject, in C_SetAttributeValue()
1862 CK_OBJECT_HANDLE hEncryptionKey, in C_SetOperationState()
[all …]
H A Dnew_host.c713 CK_OBJECT_HANDLE hEncryptionKey, in SC_SetOperationState()
714 CK_OBJECT_HANDLE hAuthenticationKey) in SC_SetOperationState()
913 CK_OBJECT_HANDLE hObject, in SC_CopyObject()
948 CK_OBJECT_HANDLE hObject) in SC_DestroyObject()
979 CK_OBJECT_HANDLE hObject, in SC_GetObjectSize()
1005 CK_OBJECT_HANDLE hObject, in SC_GetAttributeValue()
1032 CK_OBJECT_HANDLE hObject, in SC_SetAttributeValue()
1133 count * sizeof (CK_OBJECT_HANDLE)); in SC_FindObjects()
1183 CK_OBJECT_HANDLE hKey) in SC_EncryptInit()
1366 CK_OBJECT_HANDLE hKey) in SC_DecryptInit()
[all …]
/titanic_50/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c51 CK_OBJECT_HANDLE handle;
60 getObjectLabel(KMF_HANDLE_T, CK_OBJECT_HANDLE, char **);
67 int, KMF_ATTRIBUTE *, CK_OBJECT_HANDLE *);
217 PK11Cert2KMFCert(KMF_HANDLE *kmfh, CK_OBJECT_HANDLE hObj, in PK11Cert2KMFCert()
358 get_attr(KMF_HANDLE *kmfh, CK_OBJECT_HANDLE obj, in get_attr()
394 matchcert(KMF_HANDLE *kmfh, CK_OBJECT_HANDLE obj, in matchcert()
533 CK_OBJECT_HANDLE tObj; in search_certs()
818 (CK_OBJECT_HANDLE)pKey->keyp, rsaTemplate, 4); in KMFPK11_EncodePubKeyData()
842 (CK_OBJECT_HANDLE)pKey->keyp, rsaTemplate, 4); in KMFPK11_EncodePubKeyData()
900 (CK_OBJECT_HANDLE)pKey->keyp, dsaTemplate, 6); in KMFPK11_EncodePubKeyData()
[all …]
/titanic_50/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Darcfour_provider.c25 CK_OBJECT_HANDLE *hKey) in setup_arcfour_crypto()
82 CK_OBJECT_HANDLE *kptr = NULL, hKey = CK_INVALID_HANDLE; in k5_arcfour_decrypt()
117 kptr = (CK_OBJECT_HANDLE *)&hKey; in k5_arcfour_decrypt()
200 CK_OBJECT_HANDLE *kptr = NULL, hKey = CK_INVALID_HANDLE; in k5_arcfour_encrypt()
221 kptr = (CK_OBJECT_HANDLE *)&hKey; in k5_arcfour_encrypt()
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftKeys.c118 CK_OBJECT_HANDLE hWrappingKey, CK_OBJECT_HANDLE hKey, in C_WrapKey()
219 CK_OBJECT_HANDLE hUnwrappingKey, CK_BYTE_PTR pWrappedKey, in C_UnwrapKey()
319 CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, in C_DeriveKey()
H A DsoftObject.c77 C_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_CopyObject()
208 C_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject) in C_DestroyObject()
329 C_GetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_GetAttributeValue()
410 C_SetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_SetAttributeValue()
551 C_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_GetObjectSize()
H A DsoftSession.h193 CK_OBJECT_HANDLE, CK_OBJECT_HANDLE);
/titanic_50/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_crypt.c86 CK_OBJECT_HANDLE hKey; in smb_auth_hmac_md5()
139 CK_OBJECT_HANDLE hKey; in smb_auth_DES()
251 CK_OBJECT_HANDLE hKey; in smb_auth_RC4()
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSession.c348 CK_OBJECT_HANDLE hEncryptionKey, CK_OBJECT_HANDLE hAuthenticationKey) in kernel_set_operationstate()
407 CK_ULONG ulOperationStateLen, CK_OBJECT_HANDLE hEncryptionKey, in C_SetOperationState()
408 CK_OBJECT_HANDLE hAuthenticationKey) in C_SetOperationState()
/titanic_50/usr/src/cmd/cmd-crypto/digest/
H A Ddigest.c126 int fd, CK_OBJECT_HANDLE key, CK_BYTE_PTR *psignature,
281 CK_OBJECT_HANDLE *keyobj) in get_token_key()
375 CK_OBJECT_HANDLE key = (CK_OBJECT_HANDLE) 0; in execute_cmd()
808 if (!Kflag && key != (CK_OBJECT_HANDLE) 0) { in execute_cmd()
898 int fd, CK_OBJECT_HANDLE key, CK_BYTE_PTR *psignature, in do_mac()
/titanic_50/usr/src/lib/libsmbfs/smb/
H A Dcrypt.c63 CK_OBJECT_HANDLE hKey; in smb_encrypt_DES()
173 CK_OBJECT_HANDLE hKey; in smb_encrypt_RC4()

1234