Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A lot of CRC's go into embedded, no builtins available. On PC's standard 8/16/32b CRC's mostly suffice.

For embedded, goodluck finding a 12-bit CRC algorithm, and even if you find it, it's for a non optimal, non Koopman CRC [1].

While rolling your own is doable, it's also a risky endeavor, as any error hurts the product like forever.

With this generator, the problem that non Koopman CRC's were, is finally solved.

[1] https://users.ece.cmu.edu/~koopman/crc/



> A lot of CRC's go into embedded, no builtins available.

Indeed. It's all about generating lookup tables from a CRC's polynomial definition.


On the atmega we usually use just the builtin AES coprocessor. Much faster and smaller than the SW crc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: