Home
last modified time | relevance | path

Searched refs:ZIO_DATA_MAC_LEN (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_ioctl.h303 uint8_t drr_mac[ZIO_DATA_MAC_LEN];
339 uint8_t drr_mac[ZIO_DATA_MAC_LEN];
362 uint8_t drr_mac[ZIO_DATA_MAC_LEN];
H A Dzio_crypt.h40 #define WRAPPING_MAC_LEN ZIO_DATA_MAC_LEN
H A Dzio.h115 #define ZIO_DATA_MAC_LEN 16 macro
364 uint8_t zp_mac[ZIO_DATA_MAC_LEN];
H A Ddbuf.h195 uint8_t dr_mac[ZIO_DATA_MAC_LEN];
H A Darc_impl.h453 uint8_t b_mac[ZIO_DATA_MAC_LEN];
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dqat_crypt.c178 sd.hashSetupData.digestResultLenInBytes = ZIO_DATA_MAC_LEN; in qat_init_crypt_session_ctx()
359 ZIO_DATA_MAC_LEN); in qat_crypt()
420 memcpy(op_data.pDigestResult, digest_buf, ZIO_DATA_MAC_LEN); in qat_crypt()
439 memcpy(digest_buf, op_data.pDigestResult, ZIO_DATA_MAC_LEN); in qat_crypt()
H A Dzio_crypt.c194 uint8_t bab_mac[ZIO_DATA_MAC_LEN]; /* MAC from blk_cksum */
413 ASSERT(maclen <= ZIO_DATA_MAC_LEN); in zio_do_crypt_uio()
838 memset(mac, 0, ZIO_DATA_MAC_LEN); in zio_crypt_decode_mac_bp()
1345 memcpy(cksum, digestbuf, ZIO_DATA_MAC_LEN); in zio_crypt_do_indirect_mac_checksum_impl()
1349 if (memcmp(digestbuf, cksum, ZIO_DATA_MAC_LEN) != 0) in zio_crypt_do_indirect_mac_checksum_impl()
1900 mac_iov->iov_len = ZIO_DATA_MAC_LEN; in zio_crypt_init_uios()
/freebsd/sys/contrib/openzfs/cmd/zstream/
H A Dzstream_dump.c218 char mac[ZIO_DATA_MAC_LEN * 2 + 1]; in zstream_do_dump()
549 ZIO_DATA_MAC_LEN); in zstream_do_dump()
653 ZIO_DATA_MAC_LEN); in zstream_do_dump()
727 ZIO_DATA_MAC_LEN); in zstream_do_dump()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzio_crypt.c193 uint8_t bab_mac[ZIO_DATA_MAC_LEN]; /* MAC from blk_cksum */
755 memset(mac, 0, ZIO_DATA_MAC_LEN); in zio_crypt_decode_mac_bp()
1174 memcpy(cksum, digestbuf, ZIO_DATA_MAC_LEN); in zio_crypt_do_indirect_mac_checksum_impl()
1178 if (memcmp(digestbuf, cksum, ZIO_DATA_MAC_LEN) != 0) { in zio_crypt_do_indirect_mac_checksum_impl()
1658 mac_iov->iov_len = ZIO_DATA_MAC_LEN; in zio_crypt_init_uios()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_crypt.c2782 uint8_t digestbuf[ZIO_DATA_MAC_LEN]; in spa_do_crypt_mac_abd()
2791 digestbuf, ZIO_DATA_MAC_LEN); in spa_do_crypt_mac_abd()
2803 memcpy(mac, digestbuf, ZIO_DATA_MAC_LEN); in spa_do_crypt_mac_abd()
2807 if (memcmp(digestbuf, mac, ZIO_DATA_MAC_LEN) != 0) in spa_do_crypt_mac_abd()
2908 memset(mac, 0, ZIO_DATA_MAC_LEN); in spa_do_crypt_abd()
H A Ddmu_recv.c136 uint8_t or_mac[ZIO_DATA_MAC_LEN];
1470 uint8_t mac[ZIO_DATA_MAC_LEN]; in do_corrective_recv()
2298 ZIO_DATA_MAC_LEN); in flush_write_batch_impl()
2687 memcpy(rwa->or_mac, drror->drr_mac, ZIO_DATA_MAC_LEN); in receive_object_range()
H A Darc.c1344 memcpy(mac, hdr->b_crypt_hdr.b_mac, ZIO_DATA_MAC_LEN); in arc_get_raw_params()
3439 memcpy(hdr->b_crypt_hdr.b_mac, mac, ZIO_DATA_MAC_LEN); in arc_convert_to_raw()
3517 memcpy(hdr->b_crypt_hdr.b_mac, mac, ZIO_DATA_MAC_LEN); in arc_alloc_raw_buf()
6885 ZIO_DATA_MAC_LEN); in arc_write()
8618 uint8_t mac[ZIO_DATA_MAC_LEN]; in l2arc_untransform()
9152 uint8_t mac[ZIO_DATA_MAC_LEN] = { 0 }; in l2arc_apply_transforms()
9229 ASSERT0(memcmp(mac, hdr->b_crypt_hdr.b_mac, ZIO_DATA_MAC_LEN)); in l2arc_apply_transforms()
H A Ddbuf.c1730 uint8_t mac[ZIO_DATA_MAC_LEN]; in dbuf_fix_old_data()
2970 memcpy(dr->dt.dl.dr_mac, mac, ZIO_DATA_MAC_LEN); in dmu_buf_set_crypt_params()
3861 uint8_t mac[ZIO_DATA_MAC_LEN]; in dbuf_hold_copy()
4805 uint8_t mac[ZIO_DATA_MAC_LEN]; in dbuf_sync_leaf()
H A Dzio.c582 uint8_t mac[ZIO_DATA_MAC_LEN]; in zio_decrypt()
3218 memset(zp.zp_mac, 0, ZIO_DATA_MAC_LEN); in zio_write_gang_block()
4776 uint8_t mac[ZIO_DATA_MAC_LEN]; in zio_encrypt()
H A Ddmu.c2499 memset(zp->zp_mac, 0, ZIO_DATA_MAC_LEN); in dmu_write_policy()