/titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDualCrypt.c | 36 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestEncryptUpdate() argument 47 rv = C_EncryptUpdate(hSession, pPart, ulPartLen, in C_DigestEncryptUpdate() 60 return (C_DigestUpdate(hSession, pPart, ulPartLen)); in C_DigestEncryptUpdate() 66 CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in C_DecryptDigestUpdate() argument 76 pPart, pulPartLen); in C_DecryptDigestUpdate() 85 if (pPart == NULL) in C_DecryptDigestUpdate() 88 return (C_DigestUpdate(hSession, pPart, *pulPartLen)); in C_DecryptDigestUpdate() 93 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_SignEncryptUpdate() argument 104 rv = C_EncryptUpdate(hSession, pPart, ulPartLen, in C_SignEncryptUpdate() 117 return (C_SignUpdate(hSession, pPart, ulPartLen)); in C_SignEncryptUpdate() [all …]
|
H A D | softDigestUtil.c | 361 soft_digest_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_digest_update() argument 371 pPart, (uint_t)ulPartLen); in soft_digest_update() 374 pPart, ulPartLen); in soft_digest_update() 382 pPart, (uint32_t)ulPartLen); in soft_digest_update() 385 pPart, ulPartLen); in soft_digest_update() 393 pPart, ulPartLen); in soft_digest_update()
|
H A D | softVerifyUtil.c | 256 soft_verify_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_verify_update() argument 276 return (soft_hmac_sign_verify_update(session_p, pPart, in soft_verify_update() 282 return (soft_des_mac_sign_verify_update(session_p, pPart, in soft_verify_update() 299 return (soft_digest_update(session_p, pPart, ulPartLen)); in soft_verify_update()
|
H A D | softEncrypt.c | 192 C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_EncryptUpdate() argument 215 if (pPart == NULL) { in C_EncryptUpdate() 248 rv = soft_encrypt_update(session_p, pPart, ulPartLen, in C_EncryptUpdate()
|
H A D | softSignUtil.c | 245 soft_sign_update(soft_session_t *session_p, CK_BYTE_PTR pPart, in soft_sign_update() argument 265 return (soft_hmac_sign_verify_update(session_p, pPart, in soft_sign_update() 271 return (soft_des_mac_sign_verify_update(session_p, pPart, in soft_sign_update() 288 return (soft_digest_update(session_p, pPart, ulPartLen)); in soft_sign_update()
|
H A D | softMAC.h | 107 #define SOFT_MAC_UPDATE(HASH, mac_ctx, pPart, PartLen) \ argument 108 HASH##Update(&((mac_ctx)->hc_icontext), pPart, PartLen);
|
H A D | softDigest.c | 203 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestUpdate() argument 222 if (pPart == NULL) { in C_DigestUpdate() 249 rv = soft_digest_update(session_p, pPart, ulPartLen); in C_DigestUpdate()
|
/titanic_41/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | pkcs11DualCrypt.c | 42 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestEncryptUpdate() argument 51 return (fast_funcs->C_DigestEncryptUpdate(hSession, pPart, in C_DigestEncryptUpdate() 68 C_DigestEncryptUpdate(sessp->se_handle, pPart, ulPartLen, in C_DigestEncryptUpdate() 89 CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in C_DecryptDigestUpdate() argument 97 pEncryptedPart, ulEncryptedPartLen, pPart, in C_DecryptDigestUpdate() 115 ulEncryptedPartLen, pPart, pulPartLen); in C_DecryptDigestUpdate() 133 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_SignEncryptUpdate() argument 142 return (fast_funcs->C_SignEncryptUpdate(hSession, pPart, in C_SignEncryptUpdate() 159 C_SignEncryptUpdate(sessp->se_handle, pPart, ulPartLen, in C_SignEncryptUpdate() 179 CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in C_DecryptVerifyUpdate() argument [all …]
|
H A D | metaDualCrypt.c | 58 meta_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_DigestEncryptUpdate() argument 73 CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in meta_DecryptDigestUpdate() argument 84 meta_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_SignEncryptUpdate() argument 99 CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in meta_DecryptVerifyUpdate() argument
|
H A D | pkcs11Crypt.c | 140 CK_BYTE_PTR pPart, in C_EncryptUpdate() argument 150 return (fast_funcs->C_EncryptUpdate(hSession, pPart, ulPartLen, in C_EncryptUpdate() 167 pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen); in C_EncryptUpdate() 325 CK_BYTE_PTR pPart, in C_DecryptUpdate() argument 334 ulEncryptedPartLen, pPart, pulPartLen)); in C_DecryptUpdate() 350 pEncryptedPart, ulEncryptedPartLen, pPart, pulPartLen); in C_DecryptUpdate()
|
H A D | metaCrypt.c | 107 CK_BYTE_PTR pPart, CK_ULONG ulPartLen, in meta_EncryptUpdate() argument 117 if (pPart == NULL || pulEncryptedPartLen == NULL) { in meta_EncryptUpdate() 124 pPart, ulPartLen, pEncryptedPart, pulEncryptedPartLen); in meta_EncryptUpdate() 234 CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in meta_DecryptUpdate() argument 250 pEncryptedPart, ulEncryptedPartLen, pPart, pulPartLen); in meta_DecryptUpdate()
|
H A D | metaDigest.c | 94 meta_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_DigestUpdate() argument 101 if (pPart == NULL) in meta_DigestUpdate() 109 pPart, ulPartLen, NULL, NULL); in meta_DigestUpdate()
|
H A D | pkcs11Digest.c | 136 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestUpdate() argument 144 return (fast_funcs->C_DigestUpdate(hSession, pPart, in C_DigestUpdate() 161 pPart, ulPartLen); in C_DigestUpdate()
|
H A D | metaSign.c | 107 CK_BYTE_PTR pPart, CK_ULONG ulPartLen) in meta_SignUpdate() argument 116 if (pPart == NULL) { in meta_SignUpdate() 123 pPart, ulPartLen, NULL, NULL); in meta_SignUpdate()
|
H A D | metaVerify.c | 106 meta_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in meta_VerifyUpdate() argument 116 if (pPart == NULL) { in meta_VerifyUpdate() 123 pPart, ulPartLen, NULL, NULL); in meta_VerifyUpdate()
|
H A D | pkcs11Sign.c | 139 C_SignUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, CK_ULONG ulPartLen) in C_SignUpdate() argument 146 return (fast_funcs->C_SignUpdate(hSession, pPart, ulPartLen)); in C_SignUpdate() 161 rv = FUNCLIST(sessp->se_slotid)->C_SignUpdate(sessp->se_handle, pPart, in C_SignUpdate()
|
H A D | pkcs11Verify.c | 136 C_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_VerifyUpdate() argument 144 return (fast_funcs->C_VerifyUpdate(hSession, pPart, in C_VerifyUpdate() 161 pPart, ulPartLen); in C_VerifyUpdate()
|
H A D | metaGlobal.h | 756 CK_BYTE_PTR pPart, CK_ULONG ulPartLen, 767 CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen); 773 CK_RV meta_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, 784 CK_BYTE_PTR pPart, CK_ULONG ulPartLen); 795 CK_RV meta_VerifyUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, 803 CK_RV meta_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, 808 CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen); 809 CK_RV meta_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, 814 CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen);
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelDualCrypt.c | 34 C_DigestEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestEncryptUpdate() argument 47 CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in C_DecryptDigestUpdate() argument 57 C_SignEncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_SignEncryptUpdate() argument 70 CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, CK_ULONG_PTR pulPartLen) in C_DecryptVerifyUpdate() argument
|
H A D | kernelEmulate.c | 135 #define DO_SOFT_UPDATE(opp, pPart, ulPartLen, opflag) \ argument 137 rv = do_soft_digest(get_spp(opp), NULL, pPart, \ 140 rv = do_soft_hmac_update(get_spp(opp), pPart, \ 151 emulate_update(kernel_session_t *session_p, CK_BYTE_PTR pPart, in emulate_update() argument 176 DO_SOFT_UPDATE(opp, pPart, ulPartLen, opflag); in emulate_update() 220 DO_SOFT_UPDATE(opp, pPart, ulPartLen, opflag); in emulate_update() 227 bcopy(pPart, bufp->buf + bufp->indata_len, ulPartLen); in emulate_update()
|
H A D | kernelDigest.c | 295 C_DigestUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_DigestUpdate() argument 316 if (pPart == NULL) { in C_DigestUpdate() 345 rv = emulate_update(session_p, pPart, ulPartLen, OP_DIGEST); in C_DigestUpdate() 353 digest_update.du_databuf = (char *)pPart; in C_DigestUpdate() 405 CK_BYTE_PTR pPart; in C_DigestKey() local 496 pPart = (CK_BYTE_PTR) OBJ_SEC_VALUE(key_p); in C_DigestKey() 497 if (pPart == NULL) { in C_DigestKey() 507 rv = emulate_update(session_p, pPart, in C_DigestKey() 515 digest_update.du_databuf = (char *)pPart; in C_DigestKey()
|
H A D | kernelEncrypt.c | 294 C_EncryptUpdate(CK_SESSION_HANDLE hSession, CK_BYTE_PTR pPart, in C_EncryptUpdate() argument 314 if (pPart == NULL) { in C_EncryptUpdate() 349 encrypt_update.eu_databuf = (char *)pPart; in C_EncryptUpdate() 356 (pPart == pEncryptedPart)) && in C_EncryptUpdate()
|
H A D | kernelDecrypt.c | 326 CK_ULONG ulEncryptedPartLen, CK_BYTE_PTR pPart, in C_DecryptUpdate() argument 380 decrypt_update.du_databuf = (char *)pPart; in C_DecryptUpdate() 386 ((inplace && (pPart != NULL)) || (pPart == pEncryptedPart)) && in C_DecryptUpdate()
|
/titanic_41/usr/src/lib/pkcs11/include/ |
H A D | pkcs11f.h | 402 CK_BYTE_PTR pPart, /* the plaintext data */ 454 CK_BYTE_PTR pPart, /* gets plaintext */ 504 CK_BYTE_PTR pPart, /* data to be digested */ 573 CK_BYTE_PTR pPart, /* the data to sign */ 655 CK_BYTE_PTR pPart, /* signed data */ 708 CK_BYTE_PTR pPart, /* the plaintext data */ 724 CK_BYTE_PTR pPart, /* gets plaintext */ 736 CK_BYTE_PTR pPart, /* the plaintext data */ 752 CK_BYTE_PTR pPart, /* gets plaintext */
|
/titanic_41/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | api_interface.c | 579 CK_BYTE_PTR pPart, in C_DecryptDigestUpdate() argument 596 ulEncryptedPartLen, pPart, pulPartLen); in C_DecryptDigestUpdate() 664 CK_BYTE_PTR pPart, in C_DecryptUpdate() argument 681 ulEncryptedPartLen, pPart, pulPartLen); in C_DecryptUpdate() 692 CK_BYTE_PTR pPart, in C_DecryptVerifyUpdate() argument 713 pEncryptedPart, ulEncryptedPartLen, pPart, pulPartLen); in C_DecryptVerifyUpdate() 801 CK_BYTE_PTR pPart, in C_DigestEncryptUpdate() argument 812 if (! pPart || ! pulEncryptedPartLen) { in C_DigestEncryptUpdate() 819 rv = FuncList.ST_DigestEncryptUpdate(rSession, pPart, in C_DigestEncryptUpdate() 899 CK_BYTE_PTR pPart, in C_DigestUpdate() argument [all …]
|