commit | 6f907b422e8f33a388ce66479da9f42c998dd656 | [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 | 134a65124d1316a043b1da515abddafcb9309714 [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>