Home
last modified time | relevance | path

Searched refs:pEncryptedData (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A Dpkcs11Crypt.c97 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 DmetaCrypt.c76 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 DmetaGlobal.h754 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 DsoftAESCrypt.c325 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 DsoftDecrypt.c104 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 DsoftEncrypt.c107 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 DsoftDecryptUtil.c361 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 DsoftEncryptUtil.c384 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 DkernelDecrypt.c210 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 DkernelEncrypt.c191 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 Dpkcs11f.h400 CK_BYTE_PTR pEncryptedData, /* gets ciphertext */
450 CK_BYTE_PTR pEncryptedData, /* ciphertext */
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dnew_host.c1228 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 Dapi_interface.c551 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 Dtpmtok_int.h1385 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 Dpkinit_crypto_openssl.h239 CK_BYTE_PTR pEncryptedData, CK_ULONG ulEncryptedDataLen,
H A Dpkinit_crypto_openssl.c4710 CK_BYTE_PTR pEncryptedData, in pkinit_C_Decrypt() argument
4717 rv = id_cryptoctx->p11->C_Decrypt(id_cryptoctx->session, pEncryptedData, in pkinit_C_Decrypt()