]> git.dujemihanovic.xyz Git - u-boot.git/commit
Add generic hash API
authorSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2012 14:46:36 +0000 (14:46 +0000)
committerTom Rini <trini@ti.com>
Tue, 11 Dec 2012 20:17:34 +0000 (13:17 -0700)
commit460408ef9a14b8f8896d1bc8aa0f702b47c26bb8
treee8e29f156ba9525ac6d8a34810b8e4126928ae1a
parentb1f17bf5ff63a7e22e0299dd576c3b6cd38ae665
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>
common/Makefile
common/hash.c [new file with mode: 0644]
include/hash.h [new file with mode: 0644]