commit | f77c1d53b5224d5a25d27dd805366967d418fbc6 | [log] [tgz] |
---|---|---|
author | Michael Hope <mlhx@google.com> | Mon Nov 27 22:06:02 2017 +0100 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Feb 07 16:49:52 2018 -0500 |
tree | fd1f03f14ec2aef2d5a3e0dbf7fcd131aa147db3 | |
parent | 88b1ad138eb9b33c0351c7d1decfddc2bacd8c33 [diff] |
crc: add a faster, chainable version of CRC16/CCITT. The existing version of crc16_ccitt() is actually CRC-16/AUG-CCITT and gives different results to Linux, Contiki, and the CRC unit in the SAM0 SOC. This version matches Linux. Note that this is an incompatible API change. Signed-off-by: Michael Hope <mlhx@google.com>