Function crc32
pub(crate) fn crc32(data: &[u8]) -> u32Expand description
Returns the CRC that UBI stores for its headers and static data.
UBI uses CRC-32 with the initial value 0xFFFFFFFF but without the final inversion, so the result is the bitwise NOT of the common CRC-32.