Home
last modified time | relevance | path

Searched refs:cd_offset (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dhkdf.c45 input_cd.cd_offset = 0; in hkdf_sha512_extract()
51 output_cd.cd_offset = 0; in hkdf_sha512_extract()
91 T_cd.cd_offset = 0; in hkdf_sha512_expand()
95 c_cd.cd_offset = 0; in hkdf_sha512_expand()
101 info_cd.cd_offset = 0; in hkdf_sha512_expand()
/freebsd/sys/contrib/openzfs/module/icp/core/
H A Dkcf_prov_lib.c44 off_t offset = data->cd_offset; in crypto_uio_copy_to_data()
104 output->cd_offset), buf, len); in crypto_put_output_data()
125 return ((cipher)(ctx, input->cd_raw.iov_base + input->cd_offset, in crypto_update_iov()
134 off_t offset = input->cd_offset; in crypto_update_uio()
/freebsd/sys/contrib/openzfs/module/icp/io/
H A Dsha2_mod.c154 off_t offset = data->cd_offset; in sha2_digest_update_uio()
213 off_t offset = digest->cd_offset; in sha2_digest_final_uio()
443 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha2_mac_update()
511 mac->cd_offset, digest, digest_len); in sha2_mac_final()
514 mac->cd_offset, in sha2_mac_final()
544 data->cd_offset, data->cd_length); \
633 mac->cd_offset, digest, digest_len); in sha2_mac_atomic()
636 mac->cd_offset, &sha2_hmac_ctx.hc_ocontext); in sha2_mac_atomic()
740 mac->cd_offset, digest_len) != 0) in sha2_mac_verify_atomic()
745 off_t offset = mac->cd_offset; in sha2_mac_verify_atomic()
H A Daes.c213 saved_offset = ciphertext->cd_offset; in aes_encrypt_atomic()
253 ciphertext->cd_offset - saved_offset; in aes_encrypt_atomic()
258 ciphertext->cd_offset = saved_offset; in aes_encrypt_atomic()
312 saved_offset = plaintext->cd_offset; in aes_decrypt_atomic()
344 plaintext->cd_offset - saved_offset; in aes_decrypt_atomic()
356 plaintext->cd_offset - saved_offset; in aes_decrypt_atomic()
365 plaintext->cd_offset = saved_offset; in aes_decrypt_atomic()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DZipFile.cpp31 unaligned_uint32_t cd_offset; member
98 zip_data->GetBytes() + eocd->cd_offset + eocd->cd_size > p) in FindEocdRecord()
136 eocd->cd_offset); in FindFile()
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/
H A Dmodes.c43 *current_offset = out->cd_offset; in crypto_init_ptrs()
50 offset = out->cd_offset; in crypto_init_ptrs()
H A Dgcm.c176 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks()
277 out->cd_offset += ctx->gcm_remainder_len; in gcm_encrypt_final()
282 out->cd_offset += ctx->gcm_tag_len; in gcm_encrypt_final()
451 out->cd_offset += pt_len; in gcm_decrypt_final()
1303 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks_avx()
1327 out->cd_offset += chunk_size; in gcm_mode_encrypt_contiguous_blocks_avx()
1348 out->cd_offset += done; in gcm_mode_encrypt_contiguous_blocks_avx()
1372 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks_avx()
1442 out->cd_offset += rem_len; in gcm_encrypt_final_avx()
1448 out->cd_offset += ctx->gcm_tag_len; in gcm_encrypt_final_avx()
[all …]
H A Dccm.c143 out->cd_offset += block_size; in ccm_mode_encrypt_contiguous_blocks()
310 out->cd_offset += ctx->ccm_remainder_len + ctx->ccm_mac_len; in ccm_encrypt_final()
568 out->cd_offset += pt_len; in ccm_decrypt_final()
/freebsd/sys/contrib/openzfs/include/sys/crypto/
H A Dcommon.h98 off_t cd_offset; /* Offset from the beginning */ member
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dcrypto_test.c666 .cd_offset = 0, in encrypt_one()
676 .cd_offset = 0, in encrypt_one()
729 .cd_offset = 0, in decrypt_one()
739 .cd_offset = 0, in decrypt_one()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzio_crypt.c457 plaindata.cd_offset = 0; in zio_do_crypt_uio()
462 cipherdata.cd_offset = 0; in zio_do_crypt_uio()
695 in_data.cd_offset = 0; in zio_crypt_do_hmac()
701 digest_data.cd_offset = 0; in zio_crypt_do_hmac()
1009 cd.cd_offset = 0; in zio_crypt_bp_do_hmac_updates()
1061 cd.cd_offset = 0; in zio_crypt_do_dnode_hmac_updates()
1155 cd.cd_offset = 0; in zio_crypt_do_objset_hmacs()
/freebsd/sys/dev/safexcel/
H A Dsafexcel_var.h300 uint32_t cd_offset; /* CDR offset (size + alignment). */ member
H A Dsafexcel.c346 sc->sc_config.cd_offset = (sc->sc_config.cd_size + mask) & ~mask; in safexcel_configure()
516 SAFEXCEL_RING_SIZE * sc->sc_config.cd_offset * in safexcel_hw_prepare_rings()
581 (sc->sc_config.cd_offset << SAFEXCEL_xDR_DESC_xD_OFFSET) | in safexcel_hw_setup_rings()
588 (SAFEXCEL_FETCH_COUNT * sc->sc_config.cd_offset)); in safexcel_hw_setup_rings()
780 ncdesc * sc->sc_config.cd_offset * sizeof(uint32_t)); in safexcel_execute()
931 size = sizeof(uint32_t) * sc->sc_config.cd_offset * in safexcel_dma_init()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_zip.c3645 uint32_t cd_size, cd_offset; in read_eocd() local
3649 cd_offset = archive_le32dec(p + 16); in read_eocd()
3663 if ((int64_t)cd_offset + cd_size > current_offset) in read_eocd()
3667 zip->central_directory_offset = cd_offset; in read_eocd()