Searched refs:ZIO_DATA_MAC_LEN (Results 1 – 15 of 15) sorted by relevance
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_ioctl.h | 303 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 D | zio_crypt.h | 40 #define WRAPPING_MAC_LEN ZIO_DATA_MAC_LEN
|
H A D | zio.h | 115 #define ZIO_DATA_MAC_LEN 16 macro 364 uint8_t zp_mac[ZIO_DATA_MAC_LEN];
|
H A D | dbuf.h | 195 uint8_t dr_mac[ZIO_DATA_MAC_LEN];
|
H A D | arc_impl.h | 453 uint8_t b_mac[ZIO_DATA_MAC_LEN];
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | qat_crypt.c | 178 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 D | zio_crypt.c | 194 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 D | zstream_dump.c | 218 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 D | zio_crypt.c | 193 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 D | dsl_crypt.c | 2782 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 D | dmu_recv.c | 136 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 D | arc.c | 1344 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 D | dbuf.c | 1730 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 D | zio.c | 582 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 D | dmu.c | 2499 memset(zp->zp_mac, 0, ZIO_DATA_MAC_LEN); in dmu_write_policy()
|