commit | c75d53d2ea9b36b409a09b367e8269605678e343 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue May 07 06:11:47 2013 +0000 |
committer | Tom Rini <trini@ti.com> | Tue May 14 15:37:24 2013 -0400 |
tree | 9d1b4b767bf3d4be232c96b170f8eb13015718be | |
parent | 0618f9823c6b43db122a46bc9718d9118fdf5622 [diff] |
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>