Searched refs:ulPartLen (Results 1 - 25 of 40) sorted by relevance

12

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftDualCrypt.c37 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
47 rv = C_EncryptUpdate(hSession, pPart, ulPartLen,
60 return (C_DigestUpdate(hSession, pPart, ulPartLen));
94 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
104 rv = C_EncryptUpdate(hSession, pPart, ulPartLen,
117 return (C_SignUpdate(hSession, pPart, ulPartLen));
36 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
93 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A DsoftDigestUtil.c355 * ulPartLen: length of the input data
367 CK_ULONG ulPartLen)
376 pPart, (uint_t)ulPartLen);
379 pPart, ulPartLen);
387 pPart, (uint32_t)ulPartLen);
390 pPart, ulPartLen);
399 pPart, ulPartLen);
366 soft_digest_update(soft_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftVerifyUtil.c258 * ulPartLen: length of the input data
267 CK_ULONG ulPartLen)
289 ulPartLen, B_FALSE));
295 ulPartLen));
312 return (soft_digest_update(session_p, pPart, ulPartLen));
266 soft_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftSignUtil.c241 * ulPartLen: length of the input data
250 CK_ULONG ulPartLen)
272 ulPartLen, B_TRUE));
278 ulPartLen));
295 return (soft_digest_update(session_p, pPart, ulPartLen));
249 soft_sign_update(soft_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftEncrypt.c200 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
260 session_p, pPart, ulPartLen,
263 rv = soft_encrypt_update(session_p, pPart, ulPartLen,
199 C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A DsoftSign.c175 CK_ULONG ulPartLen)
190 if (ulPartLen == 0) {
217 rv = soft_sign_update(session_p, pPart, ulPartLen);
174 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftVerify.c163 CK_ULONG ulPartLen)
178 if (ulPartLen == 0) {
205 rv = soft_verify_update(session_p, pPart, ulPartLen);
162 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelEmulate.c136 #define DO_SOFT_UPDATE(opp, pPart, ulPartLen, opflag) \
139 ulPartLen, NULL, NULL, opflag); \
142 ulPartLen, opflag); \
153 CK_ULONG ulPartLen, int opflag)
175 DO_SOFT_UPDATE(opp, pPart, ulPartLen, opflag);
186 if (bufp->indata_len + ulPartLen > maxlen) {
188 } else if (ulPartLen > (bufp->buf_len - bufp->indata_len)) {
189 size_t siz = ulPartLen < bufp->buf_len ?
190 bufp->buf_len * 2 : bufp->buf_len + ulPartLen;
219 DO_SOFT_UPDATE(opp, pPart, ulPartLen, opfla
152 emulate_update(kernel_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, int opflag) argument
[all...]
H A DkernelDualCrypt.c35 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
58 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
34 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
57 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A DkernelDigest.c295 CK_ULONG ulPartLen)
344 rv = emulate_update(session_p, pPart, ulPartLen, OP_DIGEST);
351 digest_update.du_datalen = ulPartLen;
405 CK_ULONG ulPartLen; local
489 ulPartLen = OBJ_SEC_VALUE_LEN(key_p);
490 if (ulPartLen == 0) {
507 ulPartLen, OP_DIGEST);
513 digest_update.du_datalen = ulPartLen;
294 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DkernelEmulate.h69 CK_ULONG ulPartLen, int opflag);
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaDualCrypt.c59 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
85 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
58 meta_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
84 meta_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A Dpkcs11DualCrypt.c43 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
52 ulPartLen, pEncryptedPart, pulEncryptedPartLen));
68 C_DigestEncryptUpdate(sessp->se_handle, pPart, ulPartLen,
134 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
143 ulPartLen, pEncryptedPart, pulEncryptedPartLen));
159 C_SignEncryptUpdate(sessp->se_handle, pPart, ulPartLen,
42 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
133 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A Dpkcs11Digest.c137 CK_ULONG ulPartLen)
145 ulPartLen));
161 pPart, ulPartLen);
136 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A Dpkcs11Sign.c139 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
146 return (fast_funcs->C_SignUpdate(hSession, pPart, ulPartLen));
162 ulPartLen);
H A Dpkcs11Verify.c137 CK_ULONG ulPartLen)
145 ulPartLen));
161 pPart, ulPartLen);
136 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DmetaDigest.c92 CK_ULONG ulPartLen)
106 pPart, ulPartLen, NULL, NULL);
91 meta_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DmetaSign.c107 CK_BYTE_PTR pPart, CK_ULONG ulPartLen)
123 pPart, ulPartLen, NULL, NULL);
106 meta_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DmetaVerify.c107 CK_ULONG ulPartLen)
123 pPart, ulPartLen, NULL, NULL);
106 meta_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A Dpkcs11Crypt.c197 CK_ULONG ulPartLen,
206 return (fast_funcs->C_EncryptUpdate(hSession, pPart, ulPartLen,
235 pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
241 pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
195 C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsDualCrypt.c33 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
56 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
32 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
55 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A DkmsDigest.c51 CK_ULONG ulPartLen)
50 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DkmsSign.c53 CK_ULONG ulPartLen)
52 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DkmsVerify.c52 CK_ULONG ulPartLen)
51 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
/osnet-11/usr/src/lib/pkcs11/include/
H A Dpkcs11f.h403 CK_ULONG ulPartLen, /* plaintext data len */
505 CK_ULONG ulPartLen /* bytes of data to be digested */
574 CK_ULONG ulPartLen /* count of bytes to sign */
656 CK_ULONG ulPartLen /* length of signed data */
709 CK_ULONG ulPartLen, /* plaintext length */
737 CK_ULONG ulPartLen, /* plaintext length */

Completed in 444 milliseconds

12