Files
OpenCellular/src/lib
Vadim Bendebury f5ef699f40 tpm2: implement and use pcr_extend command
TPM PCRs are used in Chrome OS for two purposes: to communicate
crucial information from RO firmware and to protect FW and kernel
rollback counters from being deleted.

As implemented in a TPM1 compatible way, the PCR extension command
requires a prebuilt digest to calculate a new PCR value.

TPM2 specification introduces a PCR_Event command, where the TPM
itself calculates the digest of an arbitrary length string, and then
uses the calculated digest for PCR extension. PCR_Event could be a
better option for Chrome OS, this needs to be investigated separately.

BRANCH=none
BUG=chrome-os-partner:50645
TEST=verified that the two PCRs are successfully extended before the
     RW firmware is called.

Change-Id: I38fc88172de8ec8bef56fec026f83058480c8010
Signed-off-by: Martin Roth <martinroth@chromium.org>
Original-Commit-Id: 73388139db3ffaf61a3d9027522c5ebecb3ad051
Original-Change-Id: I1a9bab7396fdb652e2e3bc8529b828ea3423d851
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/358098
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-by: Darren Krahn <dkrahn@chromium.org>
Reviewed-on: https://review.coreboot.org/15639
Tested-by: build bot (Jenkins)
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@googlemail.com>
2016-07-14 00:00:30 +02:00
..
2015-04-22 08:50:54 +02:00
2013-07-10 20:17:51 +02:00
2003-07-19 04:28:22 +00:00
2016-03-11 09:52:46 +01:00
2016-01-07 22:57:02 +01:00
2016-07-01 23:55:16 +02:00
2015-05-29 07:06:37 +02:00
2009-01-20 21:40:16 +00:00
2004-03-13 03:40:29 +00:00
2009-01-20 21:40:16 +00:00
2016-05-05 19:41:29 +02:00
2015-09-09 19:35:30 +00:00
2016-06-24 20:22:05 +02:00
2016-07-12 23:39:14 +02:00
2015-10-24 05:57:33 +02:00
2015-02-06 00:25:59 +01:00