u-boot-brain/lib
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
..
libfdt libfdt: update from upstream dtc commit 142419e 2013-02-07 20:38:55 -05:00
lzma lzma: update to lzma sdk 9.20 2012-12-06 13:56:38 -07:00
lzo
tizen
zlib lib/zlib: sparse fixes 2012-11-04 11:00:36 -07:00
addr_map.c
aes.c
asm-offsets.c arm: move C runtime setup code in crt0.S 2013-01-08 22:14:50 +01:00
bch.c
bzlib_crctable.c
bzlib_decompress.c
bzlib_huffman.c
bzlib_private.h
bzlib_randtable.c
bzlib.c
circbuf.c
crc7.c
crc16.c
crc32.c Roll crc32 into hash infrastructure 2013-02-28 19:09:23 -08:00
ctype.c
display_options.c Update print_buffer() to use const 2013-02-28 19:09:21 -08:00
div64.c
errno.c
fdtdec_test.c
fdtdec.c tegra: add SPI SLINK driver 2013-02-11 10:35:25 -07:00
gunzip.c
gzip.c lib: add gzip lib function callback 2012-09-29 07:26:08 -07:00
hashtable.c env: Add environment variable flags 2012-12-13 11:46:56 -07:00
ldiv.c
linux_string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
lmb.c
Makefile Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
md5.c
net_utils.c
physmem.c Introduce arch_phys_memset which works like memset but on physical memory 2012-12-06 14:30:40 -08:00
qsort.c
rand.c
rbtree.c
sha1.c sha1: Use const where possible, and unsigned for input len 2012-12-11 13:17:33 -07:00
sha256.c sha256: Use const where possible and add watchdog function 2012-12-11 13:17:33 -07:00
string.c Make linux kernel string funcs available to tools 2012-12-13 11:46:07 -07:00
strmhz.c
time.c
uuid.c
vsprintf.c vsprintf: add ustrtoll function 2013-02-19 17:01:26 -05:00