| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | hkdf.c | 41 input_cd.cd_offset = 0; in hkdf_sha512_extract() 47 output_cd.cd_offset = 0; in hkdf_sha512_extract() 87 T_cd.cd_offset = 0; in hkdf_sha512_expand() 91 c_cd.cd_offset = 0; in hkdf_sha512_expand() 97 info_cd.cd_offset = 0; in hkdf_sha512_expand()
|
| /freebsd/sys/contrib/openzfs/module/icp/core/ |
| H A D | kcf_prov_lib.c | 34 off_t offset = data->cd_offset; in crypto_uio_copy_to_data() 94 output->cd_offset), buf, len); in crypto_put_output_data() 115 return ((cipher)(ctx, input->cd_raw.iov_base + input->cd_offset, in crypto_update_iov() 124 off_t offset = input->cd_offset; in crypto_update_uio()
|
| /freebsd/sys/contrib/openzfs/module/icp/io/ |
| H A D | sha2_mod.c | 144 off_t offset = data->cd_offset; in sha2_digest_update_uio() 203 off_t offset = digest->cd_offset; in sha2_digest_final_uio() 433 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha2_mac_update() 501 mac->cd_offset, digest, digest_len); in sha2_mac_final() 504 mac->cd_offset, in sha2_mac_final() 534 data->cd_offset, data->cd_length); \ 623 mac->cd_offset, digest, digest_len); in sha2_mac_atomic() 626 mac->cd_offset, &sha2_hmac_ctx.hc_ocontext); in sha2_mac_atomic() 730 mac->cd_offset, digest_len) != 0) in sha2_mac_verify_atomic() 735 off_t offset = mac->cd_offset; in sha2_mac_verify_atomic()
|
| H A D | aes.c | 203 saved_offset = ciphertext->cd_offset; in aes_encrypt_atomic() 243 ciphertext->cd_offset - saved_offset; in aes_encrypt_atomic() 248 ciphertext->cd_offset = saved_offset; in aes_encrypt_atomic() 302 saved_offset = plaintext->cd_offset; in aes_decrypt_atomic() 334 plaintext->cd_offset - saved_offset; in aes_decrypt_atomic() 346 plaintext->cd_offset - saved_offset; in aes_decrypt_atomic() 355 plaintext->cd_offset = saved_offset; in aes_decrypt_atomic()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ZipFile.cpp | 31 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 D | modes.c | 33 *current_offset = out->cd_offset; in crypto_init_ptrs() 40 offset = out->cd_offset; in crypto_init_ptrs()
|
| H A D | gcm.c | 167 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks() 268 out->cd_offset += ctx->gcm_remainder_len; in gcm_encrypt_final() 273 out->cd_offset += ctx->gcm_tag_len; in gcm_encrypt_final() 442 out->cd_offset += pt_len; in gcm_decrypt_final() 1294 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks_avx() 1318 out->cd_offset += chunk_size; in gcm_mode_encrypt_contiguous_blocks_avx() 1339 out->cd_offset += done; in gcm_mode_encrypt_contiguous_blocks_avx() 1363 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks_avx() 1433 out->cd_offset += rem_len; in gcm_encrypt_final_avx() 1439 out->cd_offset += ctx->gcm_tag_len; in gcm_encrypt_final_avx() [all …]
|
| H A D | ccm.c | 133 out->cd_offset += block_size; in ccm_mode_encrypt_contiguous_blocks() 300 out->cd_offset += ctx->ccm_remainder_len + ctx->ccm_mac_len; in ccm_encrypt_final() 558 out->cd_offset += pt_len; in ccm_decrypt_final()
|
| /freebsd/sys/contrib/openzfs/include/sys/crypto/ |
| H A D | common.h | 88 off_t cd_offset; /* Offset from the beginning */ member
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | crypto_test.c | 666 .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 D | zio_crypt.c | 453 plaindata.cd_offset = 0; in zio_do_crypt_uio() 458 cipherdata.cd_offset = 0; in zio_do_crypt_uio() 691 in_data.cd_offset = 0; in zio_crypt_do_hmac() 697 digest_data.cd_offset = 0; in zio_crypt_do_hmac() 1005 cd.cd_offset = 0; in zio_crypt_bp_do_hmac_updates() 1057 cd.cd_offset = 0; in zio_crypt_do_dnode_hmac_updates() 1151 cd.cd_offset = 0; in zio_crypt_do_objset_hmacs()
|
| /freebsd/sys/dev/safexcel/ |
| H A D | safexcel_var.h | 300 uint32_t cd_offset; /* CDR offset (size + alignment). */ member
|
| H A D | safexcel.c | 346 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 D | archive_read_support_format_zip.c | 3944 uint32_t cd_size, cd_offset; in read_eocd() local 3948 cd_offset = archive_le32dec(p + 16); in read_eocd() 3962 if ((int64_t)cd_offset + cd_size > current_offset) in read_eocd() 3966 zip->central_directory_offset = cd_offset; in read_eocd()
|