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