CRC funcs

william.ferguson.au
Posts: 107
Joined: Wed Jan 02, 2019 8:55 am

CRC funcs

Postby william.ferguson.au » Thu Aug 03, 2023 4:22 am

\rom\crc.h lists a number of CRC funcs and provides the polys used for them.

What are the other CRC initialisation values used for each of the funcs? Ie
  • width
  • init
  • refin
  • refout
  • xorout
It would make it useful when trying to match CRCs calculated on other systems.

Also it mentions that "we had added a `~` at the beginning and the end of the functions", but I can't understand what it is talking about. What does it mean?

And finally, why is there a crc8_le() and crc8_be()?
Why would a crc8 algorithm care about byte order, since it operates over a stream of single bytes?

Who is online

Users browsing this forum: Google [Bot], niels.1234 and 96 guests