/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaDualCrypt.c | 59 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 D | pkcs11DualCrypt.c | 43 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 D | metaDigest.c | 95 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 D | metaSign.c | 107 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 D | metaVerify.c | 107 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 D | pkcs11Digest.c | 137 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 D | pkcs11Sign.c | 139 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 D | pkcs11Verify.c | 137 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 D | metaCrypt.c | 107 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 D | pkcs11Crypt.c | 141 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 D | kernelDualCrypt.c | 35 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 D | kernelEmulate.c | 135 #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 D | kernelEncrypt.c | 295 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 D | kernelSign.c | 292 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 D | kernelDigest.c | 296 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 D | kernelVerify.c | 274 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 D | softDualCrypt.c | 37 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 D | softDigest.c | 204 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 D | softSign.c | 176 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 D | softVerify.c | 164 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 D | softDigestUtil.c | 350 * 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 D | softEncrypt.c | 193 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 D | softSignUtil.c | 237 * 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 D | softVerifyUtil.c | 248 * 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 D | softDESCrypt.c | 1063 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
|