> Your code uses the (one and only) CRC-32 polynomial 0x04c11db7, so just
> describing it as the "CRC-32" function should be sufficient documentation.
> It's the same CRC function as used by PKZIP, Ethernet, and chksum.
> It's not compatible with the Intel CRC32 instruction which uses the
> CRC-32C polynomial (0x1EDC6F41).

The fact that you describe it as "the one and only" - and then
describe a *second* polynomial - kinda proves my point about needing
documentation.

My paranoia about this comes from trying to find the "right" CRC16 for
reading SD cards.  There were a number to choose from :-P

Reply via email to