commit | 460408ef9a14b8f8896d1bc8aa0f702b47c26bb8 | [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 | b1f17bf5ff63a7e22e0299dd576c3b6cd38ae665 [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>