Philipp Tomsich
51c2345bd2
Roll CRC16-CCITT into the hash infrastructure
...
The CRC16-CCITT checksum function is useful for space-constrained
applications (such as obtaining a checksum across a 2KBit or 4KBit
EEPROM) in boot applications. It has not been accessible from boot
scripts until now (due to not having a dedicated command and not being
supported by the hash infrstructure) limiting its applicability
outside of custom commands.
This adds the CRC16-CCITT (poly 0x1021, init 0x0) algorithm to the
list of available hashes and adds a new crc16_ccitt_wd_buf() to make
this possible.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com >
[trini: Fix building crc16.o for SPL/TPL]
Signed-off-by: Tom Rini <trini@konsulko.com >
2018-12-08 20:18:44 -05:00
..
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-02 21:59:36 +01:00
2018-11-14 09:16:27 -08:00
2018-12-03 00:17:45 +01:00
2018-12-02 21:59:37 +01:00
2018-08-24 13:19:53 -04:00
2018-11-16 16:52:01 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-22 14:37:28 +02:00
2018-12-03 10:44:10 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-18 00:01:18 -06:00
2018-10-16 16:39:19 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-08 20:18:44 -05:00
2018-08-20 14:42:36 +02:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-10 20:48:17 -04:00
2017-04-13 09:41:10 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-02 21:59:37 +01:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-10-09 04:40:27 -06:00
2018-07-24 09:25:23 -04:00
2018-06-13 07:49:12 -04:00
2018-05-30 11:59:21 +02:00
2018-05-07 09:34:12 -04:00
2018-11-20 19:14:22 -07:00
2018-05-07 09:34:12 -04:00
2018-08-31 11:59:44 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 10:24:31 -04:00
2018-05-10 20:38:35 -04:00
2018-12-08 20:18:44 -05:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-04-28 18:32:23 -04:00
2018-12-05 06:01:34 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-05 16:02:34 -04:00
2018-12-02 21:59:37 +01:00
2018-11-20 19:14:22 -07:00
2018-05-07 09:34:12 -04:00
2018-09-20 20:11:01 +05:30
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-12-05 06:01:34 -07:00
2018-11-29 09:30:06 -07:00
2018-12-05 06:01:34 -07:00
2018-11-29 09:30:06 -07:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-23 21:55:29 +02:00