diff --git a/firmware/version.c b/firmware/version.c index ec3f70e2ac..8748246b6b 100644 --- a/firmware/version.c +++ b/firmware/version.c @@ -1,2 +1 @@ -char* VbootVersion = "VBOOv=b6f38903"; - +char* VbootVersion = "VBOOv=753f70b7"; diff --git a/utility/dev_sign_file.c b/utility/dev_sign_file.c index 6fc06649a0..ac3f40020e 100644 --- a/utility/dev_sign_file.c +++ b/utility/dev_sign_file.c @@ -216,7 +216,7 @@ static int Verify(const char* filename, const char* vblock_file, Debug("Current buf offset is at 0x%" PRIx64 " bytes\n", current_buf_offset); /* Check the key block (hash only) */ - if (0 != KeyBlockVerify(key_block, file_size, NULL, 1)) { + if (0 != KeyBlockVerify(key_block, key_block->key_block_size, NULL, 1)) { error("Error verifying key block.\n"); return 1; } @@ -237,7 +237,7 @@ static int Verify(const char* filename, const char* vblock_file, error("Error parsing data key.\n"); return 1; } - if (0 != VerifyKernelPreamble(preamble, file_size, rsa)) { + if (0 != VerifyKernelPreamble(preamble, preamble->preamble_size, rsa)) { error("Error verifying preamble.\n"); return 1; }