Commit Graph

2 Commits

Author SHA1 Message Date
Gaurav Shah
887e3d4700 Vboot Reference: Remove dependency on TrouSers by not including tss/tcs.h
Use "tss_constants.h" with TPM data type and constant definitions  instead.

Review URL: http://codereview.chromium.org/1712018
2010-04-27 16:26:48 -07:00
Gaurav Shah
ce0cc30e55 VBoot Reference: Add version checking to for preventing rollbacks.
This CL adds a new function VerifyFirmwareDriver_f() means to be a part of the RO firmware which determine which copy of the firmware to boot from. It is meant to ensure that a particular firmware is only booted if 1) it verifies successfully, 2) its version is newer or equal to current stored version. In addition, the driver function also updates the stored version if needed.

Currently I am using the TLCL API with stub calls, (in fact, most of the TPM interaction is done in rollback_index.c which implements the actual version query/update API) used by the firmware.

Review URL: http://codereview.chromium.org/1241002
2010-03-24 13:48:55 -07:00