Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Issue 650105: Vboot Reference: Add the "real" reference firmware verification function (VerifyFirmware). (Closed)

Created:
10 years, 10 months ago by gauravsh
Modified:
9 years, 6 months ago
Reviewers:
sosa
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Vboot Reference: Add the "real" reference firmware verification function (VerifyFirmware). The old VerifyFirmware function (now called VerifyFirmwareImage) works on the FirmwareImage structure. This CL adds a verification function which can be used directly on packed binary verified boot firmware blobs. This function can be used as the reference implementation for verified boot in firmware. In addition, all functions that work on FirmwareImage structure have been renames to distinguish them from those which work on binary firmware blobs. In addition, this adds some new crypto utility functions and refactors old ones. BUG=670 TEST=Added tests for the new function and they pass.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+525 lines, -187 lines) Patch
M src/platform/vboot_reference/common/utility_stub.c View 1 1 chunk +2 lines, -4 lines 0 comments Download
M src/platform/vboot_reference/crypto/rsa_utility.c View 3 chunks +44 lines, -2 lines 0 comments Download
M src/platform/vboot_reference/crypto/sha_utility.c View 1 chunk +1 line, -1 line 0 comments Download
M src/platform/vboot_reference/include/file_keys.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/platform/vboot_reference/include/firmware_image.h View 5 chunks +77 lines, -30 lines 0 comments Download
M src/platform/vboot_reference/include/rsa_utility.h View 1 chunk +28 lines, -2 lines 0 comments Download
M src/platform/vboot_reference/include/sha_utility.h View 1 chunk +1 line, -1 line 0 comments Download
M src/platform/vboot_reference/include/utility.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/platform/vboot_reference/tests/firmware_image_tests.c View 7 chunks +87 lines, -43 lines 0 comments Download
M src/platform/vboot_reference/tests/run_rsa_tests.sh View 2 chunks +7 lines, -1 line 0 comments Download
M src/platform/vboot_reference/utils/Makefile View 1 chunk +11 lines, -8 lines 0 comments Download
M src/platform/vboot_reference/utils/file_keys.c View 2 chunks +39 lines, -0 lines 0 comments Download
M src/platform/vboot_reference/utils/firmware_image.c View 1 14 chunks +206 lines, -86 lines 0 comments Download
M src/platform/vboot_reference/utils/signature_digest.c View 2 chunks +2 lines, -2 lines 0 comments Download
M src/platform/vboot_reference/utils/verify_data.c View 1 3 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
gauravsh
10 years, 10 months ago (2010-02-20 02:11:14 UTC) #1
sosa
Overall looks good. Can you be check your utility functions and make sure that you ...
10 years, 10 months ago (2010-02-22 23:31:16 UTC) #2
gauravsh
So the only functions that respond with 0 for success are the ones that are ...
10 years, 10 months ago (2010-02-23 00:45:05 UTC) #3
sosa
10 years, 10 months ago (2010-02-24 00:04:08 UTC) #4
I LGTM'd in my mind but not by body.

Having said that, LGTM

Powered by Google App Engine
This is Rietveld 408576698