coreboot-kgpe-d16/src/lib
Bill XIE bad08c2c29 security/tpm: Include mrc.bin in CRTM if present
mrc.bin, on platforms where it is present, is code executed on CPU, so
it should be considered a part of CRTM.

cbfs_locate_file_in_region() is hooked to measurement here too, since
mrc.bin is loaded with it, and CBFS_TYPE_MRC (the type of mrc.bin) is
measured to TPM_CRTM_PCR rather than TPM_RUNTIME_DATA_PCR.

TODO: I have heard that SMM is too resource-limited to link with vboot
library, so currently tspi_measure_cbfs_hook() is masked in SMM.
Please correct me if I am wrong.

Change-Id: Ib4c3cf47b919864056baf725001ca8a4aaafa110
Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38858
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2020-03-31 10:37:38 +00:00
..
gnat src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
b64_decode.c src/lib: Fix typos 2020-01-08 12:57:53 +00:00
boot_device.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
bootblock.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
bootmem.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
bootmode.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
bootsplash.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
cb.ads
cbfs.c security/tpm: Include mrc.bin in CRTM if present 2020-03-31 10:37:38 +00:00
cbmem_common.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
cbmem_console.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
cbmem_stage_cache.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
compute_ip_checksum.c
coreboot_table.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
crc_byte.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
decompressor.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
delay.c
device_tree.c
dimm_info_util.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
edid.c lib/edid: Zero struct only when used 2020-02-17 15:43:25 +00:00
edid_fill_fb.c
ext_stage_cache.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
fallback_boot.c
fit.c commonlib: Add commonlib/bsd 2020-01-28 06:36:13 +00:00
fit_payload.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
fmap.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
gcc.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
gcov-glue.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
gcov-io.c
gcov-io.h
gcov-iov.h
gpio.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
halt.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
hardwaremain.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
hexdump.c src: Remove unused include <string.h> 2019-12-26 10:45:37 +00:00
hexstrtobin.c src: Remove unused include <string.h> 2019-12-26 10:45:37 +00:00
hw-time-timer.adb src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
imd.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
imd_cbmem.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
jpeg.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
jpeg.h src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
Kconfig lib/fmap: Disable pre-RAM cache for FSP 1.0 2019-11-19 11:26:21 +00:00
libgcc.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
libgcov.c
list.c
lzma.c lib/lzma: Fix out-of-bounds read 2020-02-25 10:13:51 +00:00
lzmadecode.c
lzmadecode.h
Makefile.inc src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
malloc.c lib/malloc: Implement a simple free() only for last malloc() 2020-01-02 18:22:53 +00:00
memchr.c
memcmp.c
memcpy.c
memmove.c
memrange.c memranges: Change align attribute to be log2 of required alignment 2020-03-30 08:44:53 +00:00
memset.c
nhlt.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
primitive_memtest.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
prog_loaders.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
prog_ops.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
program.ld src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
ramdetect.c
ramtest.c
reg_script.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
region_file.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
reset.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
rmodule.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
rmodule.ld
romstage_handoff.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
rtc.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
selfboot.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
spd_bin.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
stack.c
string.c
thread.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
timer.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
timer_queue.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
timestamp.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
trace.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00
ubsan.c
uuid.c
version.c
wrdd.c src (minus soc and mainboard): Remove copyright notices 2020-03-17 18:26:34 +00:00