]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
hash: Add a way to calculate a hash for any algortihm
authorSimon Glass <sjg@chromium.org>
Tue, 7 May 2013 06:11:47 +0000 (06:11 +0000)
committerTom Rini <trini@ti.com>
Tue, 14 May 2013 19:37:24 +0000 (15:37 -0400)
commit6f907b422e8f33a388ce66479da9f42c998dd656
tree9d1b4b767bf3d4be232c96b170f8eb13015718be
parent134a65124d1316a043b1da515abddafcb9309714
hash: Add a way to calculate a hash for any algortihm

Rather than needing to call one of many hashing algorithms in U-Boot,
provide a function hash_block() which handles this, and can support all
available hash algorithms.

Once we have md5 supported within hashing, we can use this function in
the FIT image code.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/hash.c
include/hash.h