This adds the best HD=4 CRC32 polynomial. The discovery is the result of research by Philip Koopman of Carnegie Mellon University, and is well documented at https://users.ece.cmu.edu/~koopman/crc/. The user is given the option of trading 1024B of RAM to improve the execution speed. The unit tests are parameterized with this KConfig option. Signed-off-by: JP Hutchins <jp@intercreate.io>
12 lines
182 B
YAML
12 lines
182 B
YAML
tests:
|
|
utilities.crc:
|
|
tags:
|
|
- crc
|
|
type: unit
|
|
utilities.crc.table256:
|
|
tags:
|
|
- crc
|
|
type: unit
|
|
extra_configs:
|
|
- CONFIG_CRC32_K_4_2_TABLE_256=y
|