//! CRC-32/ISO-HDLC — the checksum GPT uses for its header and partition array.
//!
//! Polynomial `0xEDB88320` (reflected), initial value `0xFFFFFFFF`, final XOR
//! `0xFFFFFFFF` — identical to zlib/PNG. Implemented table-free (bitwise) to keep
//! the crate dependency-light; GPT integrity fields are small, so throughput is
//! not a concern.
/// Reflected CRC-32 polynomial (ISO-HDLC / zlib).
const POLY: u32 = 0xEDB8_8320;
/// Compute the CRC-32/ISO-HDLC checksum of `data`.
///
/// The canonical check value `checksum(b"123456789") == 0xCBF43926` holds.