coreboot/src/security/tpm
Jeremy Soller f501128536 security/tpm: Respect CBMEM TPM log size
The preram TPM log was being copied to the end of the CBMEM TPM log no
matter what the size of the CBMEM TPM log was. Eventually, it would
overwrite anything else in CBMEM beyond the TPM log.

This can currently be reproduced by enabling TPM_MEASURED_BOOT and
performing multiple S3 suspends, as coreboot is incorrectly performing
TPM measurements on S3 resume.

Change-Id: If76299e68eb5ed2ed20c947be35cea46c51fcdec
Signed-off-by: Jeremy Soller <jeremy@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73297
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-07-18 14:58:34 +00:00
..
tspi security/tpm: Respect CBMEM TPM log size 2023-07-18 14:58:34 +00:00
tss chromeos/cr50_enable_update.c: Clear EC AP_IDLE flag 2023-01-10 09:33:47 +00:00
Kconfig security/tpm: make usage of PCRs configurable via Kconfig 2023-04-10 04:01:08 +00:00
Makefile.inc security/tpm: add TPM log format as per 2.0 spec 2023-03-04 02:01:48 +00:00
tis.h drivers/tpm: Move tis_plat_irq_status to cr50 driver 2023-07-06 16:16:43 +00:00
tpm1_log_serialized.h security/tpm: add TPM log format as per 1.2 spec 2023-03-04 02:00:58 +00:00
tpm2_log_serialized.h security/tpm: add TPM log format as per 2.0 spec 2023-03-04 02:01:48 +00:00
tspi.h security/tpm: add TPM log format as per 2.0 spec 2023-03-04 02:01:48 +00:00
tss.h security/tpm: improve tlcl_extend() signature 2022-11-12 23:16:07 +00:00
tss_errors.h security/tpm/tcg-2.0: Handle TPM_RC_NV_RANGE return code 2021-11-17 23:05:11 +00:00