diff options
author | Jeremy Soller <jeremy@system76.com> | 2023-06-21 10:14:52 -0600 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-07-18 14:58:34 +0000 |
commit | f501128536ca158d4a12a9afe6ea24e6ceb6506c (patch) | |
tree | 1c687ce921aa1a3a734ae9156b54ed82951329b2 /src/mainboard/system76 | |
parent | f9aec6e2984878d779369fa5bb64c0404e81d4de (diff) |
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>
Diffstat (limited to 'src/mainboard/system76')
0 files changed, 0 insertions, 0 deletions