u-boot/include/u-boot
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
..
crc.h Roll CRC16-CCITT into the hash infrastructure 2018-12-08 20:18:44 -05:00
md5.h GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
rsa-checksum.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rsa-mod-exp.h xilinx: zynq: Add support to secure images 2018-07-19 10:49:54 +02:00
rsa.h rsa: add support of padding pss 2018-12-03 10:44:10 -05:00
sha1.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sha256.h rsa: Verify RSA padding programatically 2016-11-21 14:07:30 -05:00
u-boot.lds.h start a linker script helper file 2009-08-23 22:33:33 +02:00
variadic-macro.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
zlib.h lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00