| /titanic_44/usr/src/uts/common/crypto/io/ |
| H A D | aes.c | 453 saved_offset = ciphertext->cd_offset; in aes_encrypt() 475 ciphertext->cd_offset = ciphertext->cd_length; in aes_encrypt() 485 ciphertext->cd_offset - saved_offset; in aes_encrypt() 487 ciphertext->cd_offset = saved_offset; in aes_encrypt() 496 ciphertext->cd_offset = ciphertext->cd_length; in aes_encrypt() 507 ciphertext->cd_offset - saved_offset; in aes_encrypt() 509 ciphertext->cd_offset = saved_offset; in aes_encrypt() 573 saved_offset = plaintext->cd_offset; in aes_decrypt() 589 plaintext->cd_offset = plaintext->cd_length; in aes_decrypt() 598 plaintext->cd_offset - saved_offset; in aes_decrypt() [all …]
|
| H A D | arcfour.c | 269 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update() 287 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update() 292 mp2 = advance_position(mp, input->cd_offset + in rc4_crypt_update() 316 off_t offset = input->cd_offset; in rc4_crypt_update() 371 saveoffset = output->cd_offset; in rc4_crypt_update() 376 start = input->cd_raw.iov_base + input->cd_offset; in rc4_crypt_update() 397 mp1 = advance_position(mp, input->cd_offset, &start); in rc4_crypt_update() 402 mp2 = advance_position(mp, input->cd_offset + input->cd_length, in rc4_crypt_update() 426 output->cd_offset += len; in rc4_crypt_update() 433 off_t offset = input->cd_offset; in rc4_crypt_update() [all …]
|
| H A D | md4_mod.c | 237 off_t offset = data->cd_offset; in md4_digest_update_uio() 300 off_t offset = digest->cd_offset; in md4_digest_final_uio() 392 off_t offset = data->cd_offset; in md4_digest_update_mblk() 445 off_t offset = digest->cd_offset; in md4_digest_final_mblk() 542 data->cd_raw.iov_base + data->cd_offset, in md4_digest() 572 digest->cd_offset, &PROV_MD4_CTX(ctx)->mc_md4_ctx); in md4_digest() 614 data->cd_raw.iov_base + data->cd_offset, in md4_digest_update() 657 digest->cd_offset, &PROV_MD4_CTX(ctx)->mc_md4_ctx); in md4_digest_final() 708 MD4Update(&md4_ctx, data->cd_raw.iov_base + data->cd_offset, in md4_digest_atomic() 734 digest->cd_offset, &md4_ctx); in md4_digest_atomic()
|
| H A D | blowfish.c | 443 saved_offset = ciphertext->cd_offset; in blowfish_encrypt_update() 472 ciphertext->cd_offset - saved_offset; in blowfish_encrypt_update() 476 ciphertext->cd_offset = saved_offset; in blowfish_encrypt_update() 506 saved_offset = plaintext->cd_offset; in blowfish_decrypt_update() 535 plaintext->cd_offset - saved_offset; in blowfish_decrypt_update() 539 plaintext->cd_offset = saved_offset; in blowfish_decrypt_update() 634 saved_offset = ciphertext->cd_offset; in blowfish_encrypt_atomic() 670 ciphertext->cd_offset - saved_offset; in blowfish_encrypt_atomic() 674 ciphertext->cd_offset = saved_offset; in blowfish_encrypt_atomic() 721 saved_offset = plaintext->cd_offset; in blowfish_decrypt_atomic() [all …]
|
| H A D | md5_mod.c | 322 off_t offset = data->cd_offset; in md5_digest_update_uio() 385 off_t offset = digest->cd_offset; in md5_digest_final_uio() 477 off_t offset = data->cd_offset; in md5_digest_update_mblk() 530 off_t offset = digest->cd_offset; in md5_digest_final_mblk() 627 data->cd_raw.iov_base + data->cd_offset, in md5_digest() 657 digest->cd_offset, &PROV_MD5_CTX(ctx)->mc_md5_ctx); in md5_digest() 699 data->cd_raw.iov_base + data->cd_offset, in md5_digest_update() 742 digest->cd_offset, &PROV_MD5_CTX(ctx)->mc_md5_ctx); in md5_digest_final() 793 MD5Update(&md5_ctx, data->cd_raw.iov_base + data->cd_offset, in md5_digest_atomic() 819 digest->cd_offset, &md5_ctx); in md5_digest_atomic() [all …]
|
| H A D | sha1_mod.c | 264 off_t offset = data->cd_offset; in sha1_digest_update_uio() 328 off_t offset = digest->cd_offset; in sha1_digest_final_uio() 420 off_t offset = data->cd_offset; in sha1_digest_update_mblk() 473 off_t offset = digest->cd_offset; in sha1_digest_final_mblk() 570 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha1_digest() 600 digest->cd_offset, &PROV_SHA1_CTX(ctx)->sc_sha1_ctx); in sha1_digest() 642 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha1_digest_update() 685 digest->cd_offset, &PROV_SHA1_CTX(ctx)->sc_sha1_ctx); in sha1_digest_final() 737 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha1_digest_atomic() 763 digest->cd_offset, &sha1_ctx); in sha1_digest_atomic() [all …]
|
| H A D | sha2_mod.c | 288 off_t offset = data->cd_offset; in sha2_digest_update_uio() 350 off_t offset = digest->cd_offset; in sha2_digest_final_uio() 448 off_t offset = data->cd_offset; in sha2_digest_update_mblk() 501 off_t offset = digest->cd_offset; in sha2_digest_final_mblk() 616 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha2_digest() 646 digest->cd_offset, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest() 687 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha2_digest_update() 745 digest->cd_offset, &PROV_SHA2_CTX(ctx)->sc_sha2_ctx); in sha2_digest_final() 792 cd_raw.iov_base + data->cd_offset, data->cd_length); in sha2_digest_atomic() 826 digest->cd_offset, &sha2_ctx); in sha2_digest_atomic() [all …]
|
| H A D | dca.c | 2755 ninput->cd_offset = input->cd_offset; in dca_dupcrypto() 2862 off += data->cd_offset; in dca_getbufbytes() 3092 off_t off = in->cd_offset; in dca_gather() 3109 bcopy(in->cd_raw.iov_base + in->cd_offset, dest, count); in dca_gather() 3110 in->cd_offset += count; in dca_gather() 3147 in->cd_offset += cur_len; in dca_gather() 3193 in->cd_offset += cur_len; in dca_gather() 3228 off_t off = in->cd_offset; in dca_resid_gather() 3260 bcopy(in->cd_raw.iov_base + in->cd_offset, dest, count); in dca_resid_gather() 3261 in->cd_offset += count; in dca_resid_gather() [all …]
|
| /titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/ |
| H A D | hash_kef_generic.c | 36 d2.cd_offset = 0; in k5_ef_hash() 61 d1.cd_offset = 0; in k5_ef_hash() 112 d2.cd_offset = 0; in k5_ef_mac() 131 d1.cd_offset = 0; in k5_ef_mac()
|
| /titanic_44/usr/src/uts/common/crypto/core/ |
| H A D | kcf_prov_lib.c | 46 off_t offset = data->cd_offset; in crypto_uio_data() 132 off_t offset = data->cd_offset; in crypto_mblk_data() 217 output->cd_offset), len); in crypto_put_output_data() 251 input->cd_offset); in crypto_get_input_data() 344 data->cd_offset); in crypto_digest_data() 412 rv = (cipher)(ctx, input->cd_raw.iov_base + input->cd_offset, in crypto_update_iov() 425 off_t offset = input->cd_offset; in crypto_update_uio() 489 off_t offset = input->cd_offset; in crypto_update_mp()
|
| /titanic_44/usr/src/uts/common/fs/smbclnt/netsmb/ |
| H A D | smb_sign.c | 137 key.cd_offset = 0; in smb_compute_MAC() 148 data.cd_offset = 0; in smb_compute_MAC() 159 data.cd_offset = SMB_HDRLEN; in smb_compute_MAC() 169 digest.cd_offset = 0; in smb_compute_MAC()
|
| /titanic_44/usr/src/uts/common/des/ |
| H A D | des_crypt.c | 635 saved_offset = ciphertext->cd_offset; in des_encrypt_update() 664 ciphertext->cd_offset - saved_offset; in des_encrypt_update() 668 ciphertext->cd_offset = saved_offset; in des_encrypt_update() 697 saved_offset = plaintext->cd_offset; in des_decrypt_update() 726 plaintext->cd_offset - saved_offset; in des_decrypt_update() 730 plaintext->cd_offset = saved_offset; in des_decrypt_update() 844 saved_offset = ciphertext->cd_offset; in des_encrypt_atomic() 876 ciphertext->cd_offset - saved_offset; in des_encrypt_atomic() 880 ciphertext->cd_offset = saved_offset; in des_encrypt_atomic() 947 saved_offset = plaintext->cd_offset; in des_decrypt_atomic() [all …]
|
| /titanic_44/usr/src/common/crypto/modes/ |
| H A D | modes.c | 47 *current_offset = out->cd_offset; in crypto_init_ptrs() 54 offset = out->cd_offset; in crypto_init_ptrs() 68 offset = out->cd_offset; in crypto_init_ptrs()
|
| H A D | ctr.c | 139 out->cd_offset += block_size; in ctr_mode_contiguous_blocks() 201 out->cd_offset += ctx->ctr_remainder_len; in ctr_mode_final()
|
| H A D | cbc.c | 128 out->cd_offset += block_size; in cbc_encrypt_contiguous_blocks() 247 out->cd_offset += block_size; in cbc_decrypt_contiguous_blocks()
|
| H A D | gcm.c | 220 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks() 315 out->cd_offset += ctx->gcm_remainder_len; in gcm_encrypt_final() 320 out->cd_offset += ctx->gcm_tag_len; in gcm_encrypt_final() 479 out->cd_offset += pt_len; in gcm_decrypt_final()
|
| /titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
| H A D | ef_crypto.c | 34 d1.cd_offset = 0; in k5_ef_crypto() 40 d2.cd_offset = 0; in k5_ef_crypto()
|
| /titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| H A D | softAESCrypt.c | 353 out.cd_offset = 0; in soft_aes_encrypt_common() 389 out.cd_offset = out_len; in soft_aes_encrypt_common() 416 out.cd_offset = 0; in soft_aes_encrypt_common() 695 out.cd_offset = 0; in soft_aes_decrypt_common() 710 out.cd_offset = 0; in soft_aes_decrypt_common() 766 out.cd_offset = 0; in soft_aes_decrypt_common()
|
| H A D | softDESCrypt.c | 380 out.cd_offset = 0; in soft_des_encrypt_common() 416 out.cd_offset = out_len; in soft_des_encrypt_common() 701 out.cd_offset = 0; in soft_des_decrypt_common() 716 out.cd_offset = 0; in soft_des_decrypt_common()
|
| H A D | softBlowfishCrypt.c | 267 out.cd_offset = 0; in soft_blowfish_encrypt_common() 434 out.cd_offset = 0; in soft_blowfish_decrypt_common()
|
| H A D | softDecryptUtil.c | 582 out.cd_offset = 0; in soft_decrypt_final() 691 out.cd_offset = 0; in soft_decrypt_final() 771 out.cd_offset = 0; in soft_decrypt_final()
|
| /titanic_44/usr/src/uts/common/io/net80211/ |
| H A D | net80211_crypto_ccmp.c | 264 d1.cd_offset = 0; in aes_ccm_encrypt() 270 d2.cd_offset = 0; in aes_ccm_encrypt() 317 d1.cd_offset = 0; in aes_ccm_decrypt() 323 d2.cd_offset = 0; in aes_ccm_decrypt()
|
| H A D | net80211_crypto_wep.c | 368 d1.cd_offset = 0; in rc4_crypt() 374 d2.cd_offset = 0; in rc4_crypt() 404 d2.cd_offset = 0; in rc4_final()
|
| /titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/ |
| H A D | hmac.c | 63 dd.cd_offset = 0; in krb5_hmac() 69 mac.cd_offset = 0; in krb5_hmac()
|
| /titanic_44/usr/src/uts/common/sys/crypto/ |
| H A D | common.h | 246 off_t cd_offset; /* Offset from the beginning */ member 273 #define dd_offset1 dd_data.cd_offset
|