mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-24 00:37:25 +00:00
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>
This commit is contained in:
committed by
chrome-bot
parent
b3a625f8fe
commit
7c3ae42e04
@@ -106,8 +106,8 @@ int VerifyData(const uint8_t *data, uint64_t size, const VbSignature *sig,
|
||||
const RSAPublicKey *key);
|
||||
|
||||
/**
|
||||
* Verify a secure hash digest from DigestBuf() or DigestFinal(), using
|
||||
* [key]. Returns 0 on success.
|
||||
* Verify a secure hash digest from vb2_digest_buffer() or
|
||||
* vb2_digest_finalize(), using [key]. Returns 0 on success.
|
||||
*/
|
||||
int VerifyDigest(const uint8_t *digest, const VbSignature *sig,
|
||||
const RSAPublicKey *key);
|
||||
|
||||
Reference in New Issue
Block a user