/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11Crypt.c | 97 CK_BYTE_PTR pEncryptedData, in C_Encrypt() argument 106 pEncryptedData, pulEncryptedDataLen)); in C_Encrypt() 122 ulDataLen, pEncryptedData, pulEncryptedDataLen); in C_Encrypt() 278 CK_BYTE_PTR pEncryptedData, in C_Decrypt() argument 288 return (fast_funcs->C_Decrypt(hSession, pEncryptedData, in C_Decrypt() 305 pEncryptedData, ulEncryptedDataLen, pData, pulDataLen); in C_Decrypt()
|
H A D | metaCrypt.c | 76 CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen) in meta_Encrypt() argument 103 pData, ulDataLen, pEncryptedData, pulEncryptedDataLen); in meta_Encrypt() 212 CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen, in meta_Decrypt() argument 222 if (pEncryptedData == NULL || pulDataLen == NULL) { in meta_Decrypt() 229 pEncryptedData, ulEncryptedDataLen, pData, pulDataLen); in meta_Decrypt()
|
H A D | metaGlobal.h | 754 CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen); 763 CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen,
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAESCrypt.c | 325 CK_ULONG ulDataLen, CK_BYTE_PTR pEncryptedData, in soft_aes_encrypt() argument 338 .cd_raw.iov_base = (char *)pEncryptedData, in soft_aes_encrypt() 395 if (pEncryptedData == NULL) { in soft_aes_encrypt() 412 pEncryptedData, pulEncryptedDataLen); in soft_aes_encrypt() 515 soft_aes_cbc_pad_decrypt(aes_ctx_t *aes_ctx, CK_BYTE_PTR pEncryptedData, in soft_aes_cbc_pad_decrypt() argument 576 rc = aes_decrypt_contiguous_blocks(ctx, (char *)pEncryptedData, in soft_aes_cbc_pad_decrypt() 635 soft_aes_decrypt(soft_session_t *session_p, CK_BYTE_PTR pEncryptedData, in soft_aes_decrypt() argument 657 if ((pEncryptedData == NULL || ulEncryptedDataLen == 0) && in soft_aes_decrypt() 685 rv = soft_aes_cbc_pad_decrypt(aes_ctx, pEncryptedData, in soft_aes_decrypt() 747 rv = soft_aes_decrypt_update(session_p, pEncryptedData, in soft_aes_decrypt() [all …]
|
H A D | softDecrypt.c | 104 C_Decrypt(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData, in C_Decrypt() argument 126 if (pEncryptedData == NULL) { in C_Decrypt() 167 rv = soft_decrypt(session_p, pEncryptedData, ulEncryptedDataLen, in C_Decrypt()
|
H A D | softEncrypt.c | 107 CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen) in C_Encrypt() argument 170 rv = soft_encrypt(session_p, pData, ulDataLen, pEncryptedData, in C_Encrypt() 174 (pEncryptedData == NULL && rv == CKR_OK)) { in C_Encrypt()
|
H A D | softDecryptUtil.c | 361 soft_decrypt(soft_session_t *session_p, CK_BYTE_PTR pEncryptedData, in soft_decrypt() argument 366 return (soft_decrypt_common(session_p, pEncryptedData, in soft_decrypt()
|
H A D | softEncryptUtil.c | 384 CK_ULONG ulDataLen, CK_BYTE_PTR pEncryptedData, in soft_encrypt() argument 388 pEncryptedData, pulEncryptedDataLen, B_FALSE)); in soft_encrypt()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelDecrypt.c | 210 kernel_decrypt(kernel_session_t *session_p, CK_BYTE_PTR pEncryptedData, in kernel_decrypt() argument 264 decrypt.cd_encrbuf = (char *)pEncryptedData; in kernel_decrypt() 266 ((inplace && (pData != NULL)) || (pData == pEncryptedData)) && in kernel_decrypt() 292 C_Decrypt(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pEncryptedData, in C_Decrypt() argument 316 rv = kernel_decrypt(session_p, pEncryptedData, ulEncryptedData, pData, in C_Decrypt()
|
H A D | kernelEncrypt.c | 191 CK_BYTE_PTR pEncryptedData, CK_ULONG_PTR pulEncryptedDataLen) in C_Encrypt() argument 273 encrypt.ce_encrbuf = (char *)pEncryptedData; in C_Encrypt() 275 ((inplace && (pEncryptedData != NULL)) || in C_Encrypt() 276 (pData == pEncryptedData)) && in C_Encrypt() 294 (rv == CKR_OK && pEncryptedData == NULL)) { in C_Encrypt()
|
/illumos-gate/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 400 CK_BYTE_PTR pEncryptedData, /* gets ciphertext */ 450 CK_BYTE_PTR pEncryptedData, /* ciphertext */
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | new_host.c | 1228 CK_BYTE_PTR pEncryptedData, in SC_Encrypt() argument 1256 if (! pEncryptedData) in SC_Encrypt() 1261 pEncryptedData, pulEncryptedDataLen); in SC_Encrypt() 1409 CK_BYTE_PTR pEncryptedData, in SC_Decrypt() argument 1428 if (! pEncryptedData || ! pulDataLen) { in SC_Decrypt() 1443 pEncryptedData, in SC_Decrypt()
|
H A D | api_interface.c | 551 CK_BYTE_PTR pEncryptedData, in C_Decrypt() argument 566 rv = FuncList.ST_Decrypt(rSession, pEncryptedData, in C_Decrypt() 922 CK_BYTE_PTR pEncryptedData, in C_Encrypt() argument 938 pEncryptedData, pulEncryptedDataLen); in C_Encrypt()
|
H A D | tpmtok_int.h | 1385 CK_ULONG usDataLen, CK_BYTE_PTR pEncryptedData, 1403 (ST_SESSION_T hSession, CK_BYTE_PTR pEncryptedData,
|
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.h | 239 CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen,
|
H A D | pkinit_crypto_openssl.c | 4710 CK_BYTE_PTR pEncryptedData, in pkinit_C_Decrypt() argument 4717 rv = id_cryptoctx->p11->C_Decrypt(id_cryptoctx->session, pEncryptedData, in pkinit_C_Decrypt()
|