commit | f061b1a920b76daf9675d484ffd3dff9945b4ed2 | [log] [tgz] |
---|---|---|
author | Hung-ying Tyan <tyanh@chromium.org> | Mon Mar 03 12:19:28 2014 +0100 |
committer | Tom Rini <trini@ti.com> | Fri Mar 21 16:39:36 2014 -0400 |
tree | 4af7e35d65c7332b6b9e8d7e8bec912d7b6e9193 | |
parent | 4b81756e5ba226192fa2494aa99678065c582ef0 [diff] |
gen: Add progressive hash API Add hash_init(), hash_update() and hash_finish() to the hash_algo struct. Add hash_lookup_algo() to look up the struct given an algorithm name. Signed-off-by: Hung-ying Tyan <tyanh@chromium.org> Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heiko Schocher <hs@denx.de> Acked-by: Simon Glass <sjg@chromium.org>