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

Issue 6696006: Update PCR state with the state of the firmware keyblock flags too. (Closed)

Created:
9 years, 9 months ago by gauravsh
Modified:
9 years, 6 months ago
Reviewers:
Randall Spangler
CC:
chromium-os-reviews_chromium.org, Randall Spangler, gauravsh, Luigi Semenzato, Bill Richardson
Visibility:
Public.

Description

Update PCR state with the state of the firmware keyblock flags too. I re-factored the extend call into its own module, since it doesn't necessarily need to be couple with rollbackfirmwaresetup. BUG=chrome-os-partner:2372 TEST=Tried emerge-x86-generic and emerge-arm-generic vboot_reference. Change-Id: I0d3115b10b686133e63e304570325ebdbd50ae3a Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=b64faaa

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : Address review comments. #

Total comments: 1

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -38 lines) Patch
M firmware/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
M firmware/include/tlcl.h View 1 chunk +1 line, -1 line 0 comments Download
A firmware/lib/include/tpm_bootmode.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M firmware/lib/rollback_index.c View 1 2 4 chunks +6 lines, -36 lines 0 comments Download
A firmware/lib/tpm_bootmode.c View 1 2 3 1 chunk +133 lines, -0 lines 0 comments Download
M firmware/lib/tpm_lite/tlcl.c View 1 chunk +2 lines, -1 line 0 comments Download
M firmware/lib/vboot_firmware.c View 1 2 4 chunks +18 lines, -0 lines 0 comments Download
M firmware/linktest/main.c View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
gauravsh
One thing I was not sure of what to do if the firmware keyblock mode ...
9 years, 9 months ago (2011-03-14 23:53:00 UTC) #1
Randall Spangler
http://codereview.chromium.org/6696006/diff/2001/firmware/lib/include/tpm_bootmode.h File firmware/lib/include/tpm_bootmode.h (right): http://codereview.chromium.org/6696006/diff/2001/firmware/lib/include/tpm_bootmode.h#newcode18 firmware/lib/include/tpm_bootmode.h:18: */ Returns? http://codereview.chromium.org/6696006/diff/2001/firmware/lib/tpm_bootmode.c File firmware/lib/tpm_bootmode.c (right): http://codereview.chromium.org/6696006/diff/2001/firmware/lib/tpm_bootmode.c#newcode21 firmware/lib/tpm_bootmode.c:21: * ...
9 years, 9 months ago (2011-03-15 05:18:18 UTC) #2
gauravsh
http://codereview.chromium.org/6696006/diff/2001/firmware/lib/tpm_bootmode.c File firmware/lib/tpm_bootmode.c (right): http://codereview.chromium.org/6696006/diff/2001/firmware/lib/tpm_bootmode.c#newcode21 firmware/lib/tpm_bootmode.c:21: * Keyblock_Mode could be 0 (invalid or don't care), ...
9 years, 9 months ago (2011-03-15 06:29:10 UTC) #3
gauravsh
PTAL. http://codereview.chromium.org/6696006/diff/2001/firmware/lib/include/tpm_bootmode.h File firmware/lib/include/tpm_bootmode.h (right): http://codereview.chromium.org/6696006/diff/2001/firmware/lib/include/tpm_bootmode.h#newcode18 firmware/lib/include/tpm_bootmode.h:18: */ On 2011/03/15 05:18:18, Randall Spangler wrote: > ...
9 years, 9 months ago (2011-03-15 23:22:49 UTC) #4
Randall Spangler
9 years, 9 months ago (2011-03-15 23:26:11 UTC) #5
LGTM, thanks

http://codereview.chromium.org/6696006/diff/5002/firmware/lib/tpm_bootmode.c
File firmware/lib/tpm_bootmode.c (right):

http://codereview.chromium.org/6696006/diff/5002/firmware/lib/tpm_bootmode.c#...
firmware/lib/tpm_bootmode.c:83: /* Used for PCR extend when passed in boot state
if invalid or
/if/is

Powered by Google App Engine
This is Rietveld 408576698