|
|
|
|
|
by fargle
601 days ago
|
|
this simply matches the `crc_reflected()` in section 18 of "A Painless Guide to CRC Error Detection Algorithms" [1] with hardcoded init and final xor's to match one specific CRC-32 spec. nothing wrong with that, but it isn't original at all either. i recommend the "painless guide" for anyone constructing CRC algorithms in software. it breaks down the entire algorithm, including various trade-offs and choices, as well as for different polynomials and other parameters. then you also have the catalogs of parameters [2] and [3] [1] https://www.zlib.net/crc_v3.txt
[2] https://reveng.sourceforge.io/crc-catalogue/
[3] https://users.ece.cmu.edu/~koopman/crc/ |
|