u-boot/include/u-boot
Simon Glass d20a40de9d Roll crc32 into hash infrastructure
Add the CRC32 algorithm to the list of available hashes, and make
the crc32 command use hash_command(). Add a new crc32_wd_buf() to
make this possible, which puts its result in a buffer rather than
returning it as a 32-bit value.

Note: For some boards the hash command is not enabled, neither
are sha1, sha256 or the verify option. In this case the full
hash implementation adds about 500 bytes of overhead. So as a
special case, we use #ifdef to select very simple bahaviour in
that case. The justification for this is that it is currently
a very common case (virtually all boards enable crc32 but only
some enable more advanced features).

Signed-off-by: Simon Glass <sjg@chromium.org>
2013-02-28 19:09:23 -08:00
..
crc.h Roll crc32 into hash infrastructure 2013-02-28 19:09:23 -08:00
md5.h GCC47: Fix warning in md5.c 2012-04-29 14:14:08 +02:00
u-boot.lds.h start a linker script helper file 2009-08-23 22:33:33 +02:00
zlib.h lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00