| Index: vboot_firmware/lib/include/vboot_common.h
|
| diff --git a/vboot_firmware/lib/include/vboot_common.h b/vboot_firmware/lib/include/vboot_common.h
|
| index 407746b9537e9602eba74ce14a7e6913ae4ac52c..1d81198528bb5e1881da1a696acd6ef84c4aa7b0 100644
|
| --- a/vboot_firmware/lib/include/vboot_common.h
|
| +++ b/vboot_firmware/lib/include/vboot_common.h
|
| @@ -67,6 +67,12 @@ int VerifyData(const uint8_t* data, const VbSignature* sig,
|
| const RSAPublicKey* key);
|
|
|
|
|
| +/* Verifies a secure hash digest from DigestBuf() or DigestFinal(),
|
| + * using [key]. */
|
| +int VerifyDigest(const uint8_t* digest, const VbSignature *sig,
|
| + const RSAPublicKey* key);
|
| +
|
| +
|
| /* Checks the sanity of a key block of size [size] bytes, using public
|
| * key [key]. If [key]==NULL, uses only the block checksum to verify
|
| * the key block. Header fields are also checked for sanity. Does not
|
|
|