mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
Revert "Verified boot wrapper - replace utility functions"
This reverts commit bd81b3a7d3.
Change-Id: I2be2c076a37bf0e49569248691fceac417254f0b
Reviewed-on: http://gerrit.chromium.org/gerrit/3295
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "vboot_api.h"
|
||||
#include "vboot_common.h"
|
||||
#include "utility.h"
|
||||
|
||||
@@ -232,7 +231,7 @@ int KeyBlockVerify(const VbKeyBlockHeader* block, uint64_t size,
|
||||
SHA512_DIGEST_ALGORITHM);
|
||||
rv = SafeMemcmp(header_checksum, GetSignatureDataC(sig),
|
||||
SHA512_DIGEST_SIZE);
|
||||
VbExFree(header_checksum);
|
||||
Free(header_checksum);
|
||||
if (rv) {
|
||||
VBDEBUG(("Invalid key block hash.\n"));
|
||||
return VBOOT_KEY_BLOCK_HASH;
|
||||
|
||||
Reference in New Issue
Block a user