Searched refs:cd_offset (Results 1 – 14 of 14) sorted by relevance
| /f-stack/freebsd/contrib/openzfs/module/icp/io/ |
| H A D | aes.c | 440 saved_offset = ciphertext->cd_offset; in aes_encrypt() 560 saved_offset = plaintext->cd_offset; in aes_decrypt() 591 plaintext->cd_offset = saved_offset; in aes_decrypt() 722 saved_offset = plaintext->cd_offset; in aes_decrypt_update() 766 plaintext->cd_offset = saved_offset; in aes_decrypt_update() 811 data->cd_offset = saved_offset; in aes_encrypt_final() 878 saved_offset = data->cd_offset; in aes_decrypt_final() 889 data->cd_offset = saved_offset; in aes_decrypt_final() 906 saved_offset = data->cd_offset; in aes_decrypt_final() 916 data->cd_offset = saved_offset; in aes_decrypt_final() [all …]
|
| H A D | sha1_mod.c | 268 off_t offset = data->cd_offset; in sha1_digest_update_uio() 329 off_t offset = digest->cd_offset; in sha1_digest_final_uio() 437 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha1_digest() 611 digest->cd_offset, &sha1_ctx); in sha1_digest_atomic() 836 mac->cd_offset, digest_len); in sha1_mac_final() 839 mac->cd_offset, in sha1_mac_final() 870 data->cd_offset, data->cd_length); \ 967 mac->cd_offset, digest_len); in sha1_mac_atomic() 970 mac->cd_offset, &sha1_hmac_ctx.hc_ocontext); in sha1_mac_atomic() 1087 mac->cd_offset, digest_len) != 0) in sha1_mac_verify_atomic() [all …]
|
| H A D | sha2_mod.c | 293 off_t offset = data->cd_offset; in sha2_digest_update_uio() 352 off_t offset = digest->cd_offset; in sha2_digest_final_uio() 481 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in sha2_digest() 672 digest->cd_offset, &sha2_ctx); in sha2_digest_atomic() 943 mac->cd_offset, digest_len); in sha2_mac_final() 946 mac->cd_offset, in sha2_mac_final() 976 data->cd_offset, data->cd_length); \ 1100 mac->cd_offset, digest_len); in sha2_mac_atomic() 1103 mac->cd_offset, &sha2_hmac_ctx.hc_ocontext); in sha2_mac_atomic() 1242 mac->cd_offset, digest_len) != 0) in sha2_mac_verify_atomic() [all …]
|
| H A D | skein_mod.c | 271 off_t offset = data->cd_offset; in skein_digest_update_uio() 325 off_t offset = digest->cd_offset; in skein_digest_final_uio() 477 (uint8_t *)data->cd_raw.iov_base + data->cd_offset, in skein_update() 513 (uint8_t *)digest->cd_raw.iov_base + digest->cd_offset); in skein_final()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | hkdf.c | 45 input_cd.cd_offset = 0; in hkdf_sha512_extract() 51 output_cd.cd_offset = 0; in hkdf_sha512_extract() 92 T_cd.cd_offset = 0; in hkdf_sha512_expand() 96 c_cd.cd_offset = 0; in hkdf_sha512_expand() 102 info_cd.cd_offset = 0; in hkdf_sha512_expand()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/core/ |
| H A D | kcf_prov_lib.c | 44 off_t offset = data->cd_offset; in crypto_uio_data() 127 output->cd_offset), len); in crypto_put_output_data() 157 rv = (cipher)(ctx, input->cd_raw.iov_base + input->cd_offset, in crypto_update_iov() 170 off_t offset = input->cd_offset; in crypto_update_uio()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/modes/ |
| H A D | modes.c | 42 *current_offset = out->cd_offset; in crypto_init_ptrs() 49 offset = out->cd_offset; in crypto_init_ptrs()
|
| H A D | gcm.c | 173 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks() 274 out->cd_offset += ctx->gcm_remainder_len; in gcm_encrypt_final() 279 out->cd_offset += ctx->gcm_tag_len; in gcm_encrypt_final() 441 out->cd_offset += pt_len; in gcm_decrypt_final() 1218 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks_avx() 1242 out->cd_offset += chunk_size; in gcm_mode_encrypt_contiguous_blocks_avx() 1262 out->cd_offset += done; in gcm_mode_encrypt_contiguous_blocks_avx() 1286 out->cd_offset += block_size; in gcm_mode_encrypt_contiguous_blocks_avx() 1354 out->cd_offset += rem_len; in gcm_encrypt_final_avx() 1360 out->cd_offset += ctx->gcm_tag_len; in gcm_encrypt_final_avx() [all …]
|
| H A D | ctr.c | 123 out->cd_offset += block_size; in ctr_mode_contiguous_blocks() 184 out->cd_offset += ctx->ctr_remainder_len; in ctr_mode_final()
|
| H A D | cbc.c | 102 out->cd_offset += block_size; in cbc_encrypt_contiguous_blocks() 214 out->cd_offset += block_size; in cbc_decrypt_contiguous_blocks()
|
| H A D | ecb.c | 90 out->cd_offset += block_size; in ecb_cipher_contiguous_blocks()
|
| H A D | ccm.c | 143 out->cd_offset += block_size; in ccm_mode_encrypt_contiguous_blocks() 312 out->cd_offset += ctx->ccm_remainder_len + ctx->ccm_mac_len; in ccm_encrypt_final() 571 out->cd_offset += pt_len; in ccm_decrypt_final()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/crypto/ |
| H A D | common.h | 239 off_t cd_offset; /* Offset from the beginning */ member 263 #define dd_offset1 dd_data.cd_offset
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 442 plaindata.cd_offset = 0; in zio_do_crypt_uio() 448 cipherdata.cd_offset = 0; in zio_do_crypt_uio() 688 in_data.cd_offset = 0; in zio_crypt_do_hmac() 694 digest_data.cd_offset = 0; in zio_crypt_do_hmac() 1002 cd.cd_offset = 0; in zio_crypt_bp_do_hmac_updates() 1054 cd.cd_offset = 0; in zio_crypt_do_dnode_hmac_updates() 1142 cd.cd_offset = 0; in zio_crypt_do_objset_hmacs()
|