Enum kernel::hil::crc::CrcAlg
[−]
[src]
pub enum CrcAlg {
Crc32,
Crc32C,
Sam4L16,
Sam4L32,
Sam4L32C,
}CRC algorithms
In all cases, input bytes are bit-reversed (i.e., consumed from LSB to MSB.)
Algorithms prefixed with Sam4L are native to that chip and thus require
no software post-processing on platforms using it.
Variants
Crc32Polynomial 0x04C11DB7, output reversed then inverted ("CRC-32")
Crc32CPolynomial 0x1EDC6F41, output reversed then inverted ("CRC-32C" / "Castagnoli")
Sam4L16Polynomial 0x1021, no output post-processing
Sam4L32Polynomial 0x04C11DB7, no output post-processing
Sam4L32CPolynomial 0x1EDC6F41, no output post-processing