//! CRC32C (Castagnoli) for v5 self-describing metadata.
//!
//! XFS v5 stores a CRC32C in each metadata block, computed over the whole block
//! with the 4-byte CRC field treated as zero. `CRC_32_ISCSI` is the iSCSI
//! Castagnoli polynomial — identical to what XFS (and btrfs) store on disk — and
//! the `crc` crate is `no_std`-clean. CRC is linear, so we feed the block in
//! three chunks: bytes before the field, four zero bytes, then the rest.
use ;
const CRC32C: = new;
/// XFS-style CRC32C over `buf`, with the 4-byte field at `crc_off` zeroed.
/// Returns 0 if `crc_off` is out of range (the caller's bounds check will have
/// already rejected such a block).
pub