Searched defs:ulPartLen (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/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 DmetaDigest.c95 CK_ULONG ulPartLen)
109 pPart, ulPartLen, NULL, NULL);
94 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 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 DmetaCrypt.c107 CK_BYTE_PTR pPart, CK_ULONG ulPartLen,
124 pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
106 meta_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A Dpkcs11Crypt.c141 CK_ULONG ulPartLen,
150 return (fast_funcs->C_EncryptUpdate(hSession, pPart, ulPartLen,
167 pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen);
139 C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
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 DkernelEmulate.c135 #define DO_SOFT_UPDATE(opp, pPart, ulPartLen, opflag) \
138 ulPartLen, NULL, NULL, opflag); \
141 ulPartLen, opflag); \
152 CK_ULONG ulPartLen, int opflag)
176 DO_SOFT_UPDATE(opp, pPart, ulPartLen, opflag);
187 if (bufp->indata_len + ulPartLen > maxlen) {
189 } else if (ulPartLen > (bufp->buf_len - bufp->indata_len)) {
190 int siz = ulPartLen < bufp->buf_len ?
191 bufp->buf_len * 2 : bufp->buf_len + ulPartLen;
220 DO_SOFT_UPDATE(opp, pPart, ulPartLen, opfla
151 emulate_update(kernel_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, int opflag) argument
[all...]
H A DkernelEncrypt.c295 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
348 encrypt_update.eu_datalen = ulPartLen;
294 C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A DkernelSign.c292 CK_ULONG ulPartLen)
331 rv = emulate_update(session_p, pPart, ulPartLen, OP_SIGN);
339 sign_update.su_datalen = ulPartLen;
291 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DkernelDigest.c296 CK_ULONG ulPartLen)
345 rv = emulate_update(session_p, pPart, ulPartLen, OP_DIGEST);
352 digest_update.du_datalen = ulPartLen;
406 CK_ULONG ulPartLen; local
490 ulPartLen = OBJ_SEC_VALUE_LEN(key_p);
491 if (ulPartLen == 0) {
508 ulPartLen, OP_DIGEST);
514 digest_update.du_datalen = ulPartLen;
295 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DkernelVerify.c274 CK_ULONG ulPartLen)
313 rv = emulate_update(session_p, pPart, ulPartLen, OP_VERIFY);
321 verify_update.vu_datalen = ulPartLen;
273 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
/illumos-gate/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 DsoftDigest.c204 CK_ULONG ulPartLen)
249 rv = soft_digest_update(session_p, pPart, ulPartLen);
203 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftSign.c176 CK_ULONG ulPartLen)
191 if (ulPartLen == 0) {
218 rv = soft_sign_update(session_p, pPart, ulPartLen);
175 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftVerify.c164 CK_ULONG ulPartLen)
179 if (ulPartLen == 0) {
206 rv = soft_verify_update(session_p, pPart, ulPartLen);
163 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftDigestUtil.c350 * ulPartLen: length of the input data
362 CK_ULONG ulPartLen)
371 pPart, (uint_t)ulPartLen);
374 pPart, ulPartLen);
382 pPart, (uint32_t)ulPartLen);
385 pPart, ulPartLen);
393 pPart, ulPartLen);
361 soft_digest_update(soft_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftEncrypt.c193 CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart,
248 rv = soft_encrypt_update(session_p, pPart, ulPartLen,
192 C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen, CK_BYTE_PTR pEncryptedPart, CK_ULONG_PTR pulEncryptedPartLen) argument
H A DsoftSignUtil.c237 * ulPartLen: length of the input data
246 CK_ULONG ulPartLen)
266 ulPartLen, B_TRUE));
272 ulPartLen));
288 return (soft_digest_update(session_p, pPart, ulPartLen));
245 soft_sign_update(soft_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftVerifyUtil.c248 * ulPartLen: length of the input data
257 CK_ULONG ulPartLen)
277 ulPartLen, B_FALSE));
283 ulPartLen));
299 return (soft_digest_update(session_p, pPart, ulPartLen));
256 soft_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument
H A DsoftDESCrypt.c1063 CK_ULONG ulPartLen)
1086 total_len = soft_des_ctx_encrypt->remain_len + ulPartLen;
1089 rv = soft_encrypt_update(session_p, pPart, ulPartLen, NULL,
1092 remainder = ulPartLen % DES_BLOCK_LEN;
1095 ulEncryptedLen = ulPartLen + (DES_BLOCK_LEN - remainder);
1099 rv = soft_encrypt_update(session_p, pPart, ulPartLen,
1062 soft_des_mac_sign_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) argument

Completed in 101 milliseconds

12