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-12-02 21:59:36 +01:00
2018-12-06 16:04:49 +01:00
2018-12-06 23:26:32 -05:00
2018-12-07 08:13:51 -05:00
2018-11-26 22:52:11 -05:00
2018-10-10 12:45:28 -05:00
2018-12-05 20:32:25 -05:00
2018-10-23 20:00:52 +09:00
2018-10-07 10:47:38 -04:00
2018-11-26 08:25:33 -05:00
2018-12-08 20:18:44 -05:00
2018-12-06 16:04:49 +01:00
2018-11-27 21:06:53 +05:30
2018-11-20 12:35:25 -05:00
2018-10-07 11:07:26 -04:00
2018-12-07 22:24:33 +05:30
2018-10-09 04:40:27 -06:00
2018-11-14 09:16:27 -08:00
2018-11-26 08:25:32 -05:00
2018-09-29 11:49:35 -06:00
2018-09-29 11:49:35 -06:00
2018-10-19 19:19:53 -04:00
2018-12-05 20:32:25 -05:00
2018-11-26 13:57:32 +08:00
2018-11-20 19:14:22 -07:00
2018-09-29 11:49:35 -06:00
2018-12-07 08:13:45 -05:00
2018-12-07 08:13:45 -05:00
2018-11-10 08:16:30 -05:00
2018-10-09 04:40:27 -06:00
2018-12-02 21:59:37 +01:00
2018-12-03 00:17:45 +01:00
2018-12-02 21:59:37 +01:00
2018-12-02 21:59:36 +01:00
2018-11-20 19:14:22 -07:00
2018-09-28 20:22:33 -04:00
2018-10-22 12:59:02 +02:00
2018-10-29 13:13:05 -07:00
2018-11-26 08:25:37 -05:00
2018-12-06 23:26:32 -05:00
2018-11-29 09:30:05 -07:00
2018-12-05 06:01:35 -07:00
2018-12-03 10:44:10 -05:00
2018-10-22 13:01:27 +02:00
2018-11-14 09:16:27 -08:00
2018-12-05 06:01:35 -07:00
2018-11-29 09:30:05 -07:00
2018-11-29 09:30:05 -07:00
2018-10-24 14:45:36 -05:00
2018-11-20 19:14:22 -07:00
2018-10-07 10:47:38 -04:00
2018-10-02 22:12:32 +05:30
2018-10-10 12:29:02 -05:00
2018-11-05 10:41:56 -06:00
2018-12-05 06:08:35 -07:00
2018-11-20 19:14:22 -07:00
2018-10-09 04:40:27 -06:00
2018-10-09 04:40:27 -06:00
2018-11-14 09:16:28 -08:00
2018-10-10 12:28:55 -05:00
2018-10-24 14:45:38 -05:00
2018-11-24 14:41:11 +05:30
2018-12-05 06:06:44 -07:00
2018-10-07 11:04:01 -04:00
2018-12-05 06:08:31 -07:00
2018-11-29 09:30:05 -07:00
2018-11-20 19:14:22 -07:00
2018-11-27 21:06:53 +05:30
2018-12-07 08:13:51 -05:00
2018-10-09 04:40:27 -06:00
2018-10-09 04:40:27 -06:00
2018-10-07 10:47:38 -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-09-28 20:22:32 -04:00
2018-10-10 12:28:52 -05:00
2018-11-26 21:19:03 +01:00
2018-09-28 18:25:39 +02:00
2018-09-28 18:26:32 +02:00
2018-12-03 19:09:44 +01:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2018-11-14 09:16:27 -08:00
2018-09-28 20:22:35 -04:00
2018-11-16 16:51:55 -05:00