/titanic_50/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 144 CK_SESSION_HANDLE hSession, /* the session's handle */ 155 CK_SESSION_HANDLE hSession, /* the session's handle */ 186 CK_SESSION_HANDLE hSession /* the session's handle */ 204 CK_SESSION_HANDLE hSession, /* the session's handle */ 215 CK_SESSION_HANDLE hSession, /* session's handle */ 227 CK_SESSION_HANDLE hSession, /* session's handle */ 240 CK_SESSION_HANDLE hSession, /* the session's handle */ 252 CK_SESSION_HANDLE hSession /* the session's handle */ 264 CK_SESSION_HANDLE hSession, /* the session's handle */ 277 CK_SESSION_HANDLE hSession, /* the session's handle */ [all …]
|
H A D | cryptoki.h | 109 CK_RV SUNW_C_KeyToObject(CK_SESSION_HANDLE hSession, 119 pkcs11_PasswdToPBKD2Object(CK_SESSION_HANDLE hSession, char *passphrase, 129 pkcs11_ObjectToKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE obj, 138 pkcs11_PasswdToKey(CK_SESSION_HANDLE hSession, char *passphrase,
|
/titanic_50/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaGlobal.h | 244 CK_SESSION_HANDLE hSession; 622 CK_RV meta_handle2session(CK_SESSION_HANDLE hSession, 713 CK_RV meta_InitPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pPin, 715 CK_RV meta_SetPIN(CK_SESSION_HANDLE hSession, CK_UTF8CHAR_PTR pOldPin, 720 CK_RV meta_CloseSession(CK_SESSION_HANDLE hSession); 722 CK_RV meta_GetSessionInfo(CK_SESSION_HANDLE hSession, 724 CK_RV meta_GetOperationState(CK_SESSION_HANDLE hSession, 726 CK_RV meta_SetOperationState(CK_SESSION_HANDLE hSession, 729 CK_RV meta_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, 731 CK_RV meta_Logout(CK_SESSION_HANDLE hSession); [all …]
|
H A D | pkcs11Object.c | 39 C_CreateObject(CK_SESSION_HANDLE hSession, in C_CreateObject() 82 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() 282 C_FindObjectsInit(CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, in C_FindObjectsInit() 322 C_FindObjects(CK_SESSION_HANDLE hSession, in C_FindObjects() 364 C_FindObjectsFinal(CK_SESSION_HANDLE hSession) in C_FindObjectsFinal()
|
H A D | metaDualCrypt.c | 58 meta_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_DigestEncryptUpdate() 71 meta_DecryptDigestUpdate(CK_SESSION_HANDLE hSession, in meta_DecryptDigestUpdate() 84 meta_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_SignEncryptUpdate() 97 meta_DecryptVerifyUpdate(CK_SESSION_HANDLE hSession, in meta_DecryptVerifyUpdate()
|
H A D | metaCrypt.c | 41 meta_EncryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in meta_EncryptInit() 75 meta_Encrypt(CK_SESSION_HANDLE hSession, in meta_Encrypt() 106 meta_EncryptUpdate(CK_SESSION_HANDLE hSession, in meta_EncryptUpdate() 137 meta_EncryptFinal(CK_SESSION_HANDLE hSession, in meta_EncryptFinal() 167 meta_DecryptInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in meta_DecryptInit() 201 meta_Decrypt(CK_SESSION_HANDLE hSession, in meta_Decrypt() 232 meta_DecryptUpdate(CK_SESSION_HANDLE hSession, in meta_DecryptUpdate() 263 meta_DecryptFinal(CK_SESSION_HANDLE hSession, in meta_DecryptFinal()
|
H A D | pkcs11Crypt.c | 44 C_EncryptInit(CK_SESSION_HANDLE hSession, in C_EncryptInit() 96 C_Encrypt(CK_SESSION_HANDLE hSession, in C_Encrypt() 139 C_EncryptUpdate(CK_SESSION_HANDLE hSession, in C_EncryptUpdate() 182 C_EncryptFinal(CK_SESSION_HANDLE hSession, in C_EncryptFinal() 227 C_DecryptInit(CK_SESSION_HANDLE hSession, in C_DecryptInit() 279 C_Decrypt(CK_SESSION_HANDLE hSession, in C_Decrypt() 322 C_DecryptUpdate(CK_SESSION_HANDLE hSession, in C_DecryptUpdate() 365 C_DecryptFinal(CK_SESSION_HANDLE hSession, in C_DecryptFinal()
|
H A D | metaDigest.c | 41 meta_DigestInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism) in meta_DigestInit() 66 meta_Digest(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in meta_Digest() 94 meta_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_DigestUpdate() 128 meta_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey) in meta_DigestKey() 160 meta_DigestFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, in meta_DigestFinal()
|
H A D | metaSign.c | 41 meta_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in meta_SignInit() 75 meta_Sign(CK_SESSION_HANDLE hSession, in meta_Sign() 106 meta_SignUpdate(CK_SESSION_HANDLE hSession, in meta_SignUpdate() 136 meta_SignFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in meta_SignFinal() 165 meta_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in meta_SignRecoverInit() 199 meta_SignRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, in meta_SignRecover()
|
H A D | metaVerify.c | 41 meta_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in meta_VerifyInit() 75 meta_Verify(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in meta_Verify() 106 meta_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_VerifyUpdate() 136 meta_VerifyFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in meta_VerifyFinal() 170 meta_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in meta_VerifyRecoverInit() 204 meta_VerifyRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in meta_VerifyRecover()
|
H A D | pkcs11Sign.c | 43 C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_SignInit() 95 C_Sign(CK_SESSION_HANDLE hSession, in C_Sign() 139 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) in C_SignUpdate() 178 C_SignFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in C_SignFinal() 221 C_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_SignRecoverInit() 274 C_SignRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, in C_SignRecover()
|
H A D | pkcs11Verify.c | 43 C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_VerifyInit() 95 C_Verify(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in C_Verify() 136 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_VerifyUpdate() 176 C_VerifyFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in C_VerifyFinal() 219 C_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_VerifyRecoverInit() 273 C_VerifyRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in C_VerifyRecover()
|
H A D | pkcs11Digest.c | 43 C_DigestInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism) in C_DigestInit() 94 C_Digest(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in C_Digest() 136 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestUpdate() 176 C_DigestKey(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hKey) in C_DigestKey() 213 C_DigestFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pDigest, in C_DigestFinal()
|
H A D | pkcs11Session.c | 50 CK_SESSION_HANDLE prov_sess; in C_OpenSession() 118 C_CloseSession(CK_SESSION_HANDLE hSession) in C_CloseSession() 247 C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) in C_GetSessionInfo() 305 C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, in C_GetOperationState() 347 C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, in C_SetOperationState() 391 C_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, in C_Login() 431 C_Logout(CK_SESSION_HANDLE hSession) in C_Logout()
|
H A D | pkcs11DualCrypt.c | 42 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestEncryptUpdate() 88 C_DecryptDigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, in C_DecryptDigestUpdate() 133 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_SignEncryptUpdate() 178 C_DecryptVerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, in C_DecryptVerifyUpdate()
|
H A D | pkcs11Keys.c | 42 C_GenerateKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_GenerateKey() 97 C_GenerateKeyPair(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_GenerateKeyPair() 158 C_WrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_WrapKey() 214 C_UnwrapKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_UnwrapKey() 272 C_DeriveKey(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_DeriveKey()
|
H A D | metaSession.c | 90 *phSession = (CK_SESSION_HANDLE) new_session; in meta_OpenSession() 106 meta_CloseSession(CK_SESSION_HANDLE hSession) in meta_CloseSession() 155 rv = meta_handle2session((CK_SESSION_HANDLE)session, &session); in meta_CloseAllSessions() 180 meta_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) in meta_GetSessionInfo() 239 meta_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, in meta_GetOperationState() 414 meta_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, in meta_SetOperationState() 508 meta_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, in meta_Login() 583 meta_Logout(CK_SESSION_HANDLE hSession) in meta_Logout()
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | api_interface.c | 383 C_CancelFunction(CK_SESSION_HANDLE hSession) in C_CancelFunction() 429 rv = C_CloseSession((CK_SESSION_HANDLE)pCur); in C_CloseAllSessions() 449 C_CloseSession(CK_SESSION_HANDLE hSession) in C_CloseSession() 479 CK_SESSION_HANDLE hSession, in C_CopyObject() 516 CK_SESSION_HANDLE hSession, in C_CreateObject() 550 C_Decrypt(CK_SESSION_HANDLE hSession, in C_Decrypt() 576 CK_SESSION_HANDLE hSession, in C_DecryptDigestUpdate() 604 C_DecryptFinal(CK_SESSION_HANDLE hSession, in C_DecryptFinal() 636 C_DecryptInit(CK_SESSION_HANDLE hSession, in C_DecryptInit() 661 C_DecryptUpdate(CK_SESSION_HANDLE hSession, in C_DecryptUpdate() [all …]
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelDualCrypt.c | 34 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestEncryptUpdate() 46 C_DecryptDigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, in C_DecryptDigestUpdate() 57 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_SignEncryptUpdate() 69 C_DecryptVerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, in C_DecryptVerifyUpdate()
|
H A D | kernelObject.c | 41 C_CreateObject(CK_SESSION_HANDLE hSession, in C_CreateObject() 81 C_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_CopyObject() 243 new_object->session_handle = (CK_SESSION_HANDLE)session_p; in C_CopyObject() 301 C_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject) in C_DestroyObject() 308 CK_SESSION_HANDLE creating_session; in C_DestroyObject() 396 C_GetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_GetAttributeValue() 516 C_SetAttributeValue(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_SetAttributeValue() 652 C_GetObjectSize(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_GetObjectSize() 733 C_FindObjectsInit(CK_SESSION_HANDLE sh, CK_ATTRIBUTE_PTR pTemplate, in C_FindObjectsInit() 827 C_FindObjects(CK_SESSION_HANDLE sh, CK_OBJECT_HANDLE_PTR phObject, in C_FindObjects() [all …]
|
/titanic_50/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDualCrypt.c | 36 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestEncryptUpdate() 65 C_DecryptDigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, in C_DecryptDigestUpdate() 93 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_SignEncryptUpdate() 122 C_DecryptVerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedPart, in C_DecryptVerifyUpdate()
|
H A D | softObject.c | 37 C_CreateObject(CK_SESSION_HANDLE hSession, in C_CreateObject() 77 C_CopyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, in C_CopyObject() 168 new_object->session_handle = (CK_SESSION_HANDLE)NULL; in C_CopyObject() 208 C_DestroyObject(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject) in C_DestroyObject() 215 CK_SESSION_HANDLE creating_session; 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() 561 C_FindObjectsInit(CK_SESSION_HANDLE sh, CK_ATTRIBUTE_PTR pTemplate, in C_FindObjectsInit() 621 C_FindObjects(CK_SESSION_HANDLE sh, in C_FindObjects() [all …]
|
H A D | softSession.c | 71 C_CloseSession(CK_SESSION_HANDLE hSession) in C_CloseSession() 182 C_GetSessionInfo(CK_SESSION_HANDLE hSession, CK_SESSION_INFO_PTR pInfo) in C_GetSessionInfo() 227 C_GetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, in C_GetOperationState() 267 C_SetOperationState(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pOperationState, in C_SetOperationState() 301 C_Login(CK_SESSION_HANDLE hSession, CK_USER_TYPE userType, CK_UTF8CHAR_PTR pPin, in C_Login() 406 C_Logout(CK_SESSION_HANDLE hSession) in C_Logout()
|
H A D | softVerify.c | 35 C_VerifyInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_VerifyInit() 104 C_Verify(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in C_Verify() 163 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_VerifyUpdate() 222 C_VerifyFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in C_VerifyFinal() 263 C_VerifyRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_VerifyRecoverInit() 332 C_VerifyRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in C_VerifyRecover()
|
H A D | softSign.c | 35 C_SignInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_SignInit() 104 C_Sign(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, CK_ULONG ulDataLen, in C_Sign() 175 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_SignUpdate() 234 C_SignFinal(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pSignature, in C_SignFinal() 292 C_SignRecoverInit(CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, in C_SignRecoverInit() 361 C_SignRecover(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pData, in C_SignRecover()
|