coreboot/src/lib
Julius Werner 6250aa5a61 chromeos: vboot2: Add TPM PCR extension support
ChromeOS/vboot devices expect the TPM PCRs 0 and 1 to be extended with
digests that attest the chosen boot mode (developer/recovery) and the
HWID in a secure way. This patch uses the newly added vboot2 support
functions to fetch these digests and store them in the TPM.

CQ-DEPEND=CL:245530
BRANCH=veyron
BUG=chromium:451609
TEST=Booted Jerry. Confirmed that PCR0 contains the same value as on my
vboot1 Blaze and Falco (and PCR1 contains some non-zero hash).

Change-Id: I7037b8198c09fccee5440c4c85f0821166784cec
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/245119
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
(cherry picked from commit 8b44e13098cb7493091f2ce6c4ab423f2cbf0177)
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/245496
2015-02-02 22:21:25 +00:00
..
bootblock.ld New mechanism to define SRAM/memory map with automatic bounds checking 2014-10-03 09:09:36 +00:00
cbfs.c cbfs: Don't compile LZMA code into romstage if it is not needed 2014-12-11 21:09:45 +00:00
cbfs_core.c CBFS: Automate ROM image layout and remove hardcoded offsets 2014-12-03 06:09:54 +00:00
cbfs_spi.c New mechanism to define SRAM/memory map with automatic bounds checking 2014-10-03 09:09:36 +00:00
cbmem.c cbmem: Extend hooks to ramstage, fix timestamp synching 2014-12-06 01:10:47 +00:00
cbmem_common.c cbmem: Extend hooks to ramstage, fix timestamp synching 2014-12-06 01:10:47 +00:00
cbmem_console.c cbmem: Extend hooks to ramstage, fix timestamp synching 2014-12-06 01:10:47 +00:00
clog2.c
compute_ip_checksum.c
coreboot_table.c ramoops: Add support for passing ramoops buffer address and size through cb 2014-11-14 06:37:22 +00:00
debug.c
delay.c
dynamic_cbmem.c cbmem: Extend hooks to ramstage, fix timestamp synching 2014-12-06 01:10:47 +00:00
edid.c edid: initialize has_valid_detailed_blocks as 1 2014-04-21 12:51:09 +00:00
fallback_boot.c
gcc.c
gcov-glue.c BACKPORT: coverage: use boot state callbacks 2013-05-01 14:30:01 -07:00
gcov-io.c
gcov-io.h
gcov-iov.h
generic_dump_spd.c
generic_sdram.c
gpio.c Add delay before reading GPIOs in gpio_base2_value() 2015-01-21 01:17:33 +00:00
hardwaremain.c timer: Reestablish init_timer(), consolidate timer initialization calls 2014-12-10 02:00:17 +00:00
hexdump.c broadwell_fsp: Add intel FSP "driver" from coreboot.org 2014-11-19 04:10:00 +00:00
jpeg.c
jpeg.h
libgcov.c
lzma.c timestamps: You can never have enough of them! 2014-12-10 02:00:24 +00:00
lzmadecode.c
lzmadecode.h
Makefile.inc cbfs: Don't compile LZMA code into romstage if it is not needed 2014-12-11 21:09:45 +00:00
malloc.c
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c coreboot memrange: Changes to memrange lib 2014-07-22 01:23:24 +00:00
memset.c
ne2k.c
nrv2b.c
ns8390.h
primitive_memtest.c Primitive memory test 2014-07-03 02:56:56 +00:00
ramstage.ld cbmem: Extend hooks to ramstage, fix timestamp synching 2014-12-06 01:10:47 +00:00
ramstage_cache.c ramstage_cache: allow ramstage usage add valid helper 2013-12-13 00:07:08 +00:00
ramtest.c
reg_script.c Add table driven way to add platform specific reg_script routines 2014-11-20 23:04:25 +00:00
rmodule.c rmodule: Correct the typecast with proper parenthesis 2014-07-23 23:14:18 +00:00
rmodule.ld cbmem: Extend hooks to ramstage, fix timestamp synching 2014-12-06 01:10:47 +00:00
romstage.ld cbmem: Unify random on-CBMEM-init tasks under common CBMEM_INIT_HOOK() API 2014-12-04 04:01:59 +00:00
selfboot.c timestamp: remove conditional #if CONFIG_COLLECT_TIMESTAMPS 2014-11-07 01:24:01 +00:00
stack.c arm: Fix checkstack() to use correct stack size 2014-12-20 06:34:57 +00:00
thread.c Possible thread stack implementation. 2013-08-23 10:38:10 -07:00
timer.c timer: Reestablish init_timer(), consolidate timer initialization calls 2014-12-10 02:00:17 +00:00
timer_queue.c BACKPORT: coreboot: add timer queue implementation 2013-05-01 14:30:57 -07:00
timestamp.c timestamp: disambiguate error messages 2014-12-11 04:23:27 +00:00
tlcl.c chromeos: vboot2: Add TPM PCR extension support 2015-02-02 22:21:25 +00:00
tlcl_internal.h vboot2: read secdata and nvdata 2014-07-23 02:29:18 +00:00
tlcl_structures.h vboot2: copy tlcl from vboot_reference as a preparation for vboot2 integration 2014-07-08 23:29:11 +00:00
tpm_error_messages.h vboot2: copy tlcl from vboot_reference as a preparation for vboot2 integration 2014-07-08 23:29:11 +00:00
trace.c
uart8250.c UART 8250: Unconditionally provide register constants and use UART8250 prefix. 2013-10-02 09:18:38 +00:00
uart8250mem.c UART 8250: Unconditionally provide register constants and use UART8250 prefix. 2013-10-02 09:18:38 +00:00
usbdebug.c
version.c coreboot: Introduce stage-specific architecture for coreboot 2014-05-09 04:41:47 +00:00
xmodem.c