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: NSimon Glass <sjg@chromium.org>
Showing
common/hash.c
0 → 100644
include/hash.h
0 → 100644
想要评论请 注册 或 登录