commit | bf007ebb6f4b01af675782d23bacbddd17e1a627 | [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 | db1b5f3d20666ffd52d649a3bd6141989b596e3f [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>