commit | b879045147c1da06266d7a2a7c4fec180d40370f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Dec 05 14:46:36 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Tue Dec 11 13:17:34 2012 -0700 |
tree | e8e29f156ba9525ac6d8a34810b8e4126928ae1a | |
parent | 459af6983da96b6b430bd41306e63e4d107f906d [diff] |
Add generic hash API We have a SHA1 command and want to add a SHA256 command also. Instead of duplicating the code, create a generic hash API which can process commands for different algorithms. Signed-off-by: Simon Glass <sjg@chromium.org>