Enum crc32_polynomials

Enum Documentation

enum liberate::checksum::crc32_polynomials

Define polynomials for use in the algorithm. Note that these are reversed polynomials from https://en.wikipedia.org/wiki/Cyclic_redundancy_check#Polynomial_representations_of_cyclic_redundancy_checks as the algorithm works with those.

Define polynomials also with some useful aliases. There are probably more useful aliases, but we don’t need to confuse eveything.

Values:

enumerator CRC32

Default polynomial; defined in ISO3309, IEEE 802.3, POSIX, etc.

enumerator CRC32_ISO3309

Same as CRC32.

enumerator CRC32_IEEE802_3

Same as CRC32.

enumerator CRC32_GZIP

Same as CRC32.

enumerator CRC32_BZIP2

Same as CRC32.

enumerator CRC32_POSIX

Same as CRC32.

enumerator CRC32C

Castagnoli polynomial

enumerator CRC32_CASTAGNOLI

Same as CRC32C.

enumerator CRC32C_SCTP

Same as CRC32C.

enumerator CRC32C_SSE42

Same as CRC32C.

enumerator CRC32K

Koopman polynomial

enumerator CRC32_KOOPMAN

Same as CRC32K.

enumerator CRC32K2

Second Koopman polynomial

enumerator CRC32_KOOPMAN2

Same as CRC32K2.

enumerator CRC32Q

CRC32Q polynomial

enumerator CRC32_AIXM

Same as CRC32Q.