bdb: Replace sha functions with vb2 library
authorDaisuke Nojiri <dnojiri@chromium.org>
Tue, 3 May 2016 23:23:53 +0000 (16:23 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Wed, 4 May 2016 18:34:08 +0000 (11:34 -0700)
commitedc3c8e4409bd9bd5cccac8a2fe48ddd5927fa6a
tree2fd95d5a9af2641d3c885dc19ce8e6c03d246782
parent825a2f8c7315520f62f6bb981b24f075ed5136e8
bdb: Replace sha functions with vb2 library

BDB has its own implementation of SHA256. This patch replaces it with
the one implemented in vb2 library.

BUG=chrome-os-partner:51908
BRANCH=tot
TEST=build runtests

Change-Id: Ida19dd49153a038fc2b2ce481cedf828818aaeaa
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/342121
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Makefile
firmware/bdb/bdb.c
firmware/bdb/host.c
firmware/bdb/sha.c [deleted file]
tests/bdb_test.c