vboot: Convert vboot1 SHA calls to use vboot2
authorRandall Spangler <rspangler@chromium.org>
Wed, 11 May 2016 20:50:18 +0000 (13:50 -0700)
committerchrome-bot <chrome-bot@chromium.org>
Sat, 23 Jul 2016 01:40:04 +0000 (18:40 -0700)
commit7c3ae42e045935728a63a6d592ecf6c5bdbd005a
treeb03c1bde6af714d2229b2362ad1d64b99c8f581d
parentb3a625f8fef1768d78eab4cfaaea270cb3fbd0c3
vboot: Convert vboot1 SHA calls to use vboot2

This change replaces all calls to the old vboot1 SHA library with their
vboot2 equivalents.

This is the first in a long series of changes to move the core vboot kernel
verification into vb2, and the control/display loop out to depthcharge.

BUG=chromium:611535
BRANCH=none
TEST=make runtests; build samus firmware and boot it

Change-Id: I31986eb766176c0e39a192c5ce15730471c3cf94
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/344342
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
39 files changed:
Makefile
cgpt/cgpt_wrapper.c
firmware/lib/cryptolib/include/cryptolib.h
firmware/lib/cryptolib/include/padding.h
firmware/lib/cryptolib/include/sha.h [deleted file]
firmware/lib/cryptolib/padding.c
firmware/lib/cryptolib/rsa_utility.c
firmware/lib/cryptolib/sha1.c [deleted file]
firmware/lib/cryptolib/sha256.c [deleted file]
firmware/lib/cryptolib/sha512.c [deleted file]
firmware/lib/cryptolib/sha_utility.c [deleted file]
firmware/lib/include/vboot_common.h
firmware/lib/vboot_common.c
firmware/lib/vboot_display.c
firmware/lib/vboot_firmware.c
firmware/lib/vboot_kernel.c
futility/cmd_create.c
futility/cmd_pcr.c
futility/file_type_usbpd1.c
futility/misc.c
futility/ryu_root_header.c
futility/vb2_helper.c
host/lib/file_keys.c
host/lib/host_keyblock.c
host/lib/host_signature.c
host/lib/include/file_keys.h
host/lib/signature_digest.c
host/lib/util_misc.c
host/linktest/main.c
tests/rsa_utility_tests.c
tests/sha_benchmark.c
tests/sha_test_vectors.h
tests/vboot_common2_tests.c
tests/vboot_common3_tests.c
tests/vboot_firmware_tests.c
tests/vboot_kernel_tests.c
utility/pad_digest_utility.c
utility/signature_digest_utility.c
utility/verify_data.c