summaryrefslogtreecommitdiff
path: root/src/commonlib
diff options
context:
space:
mode:
authorSergii Dmytruk <sergii.dmytruk@3mdeb.com>2022-11-10 17:56:26 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-01-11 16:03:22 +0000
commit26203e729251816f8a98814112730daf61492a3e (patch)
treec0d010d4c9c8e17a6b008c8347721a9a17ad5dae /src/commonlib
parent2710df765bad08d8200c70399ace5e78d3d1cecc (diff)
security/tpm: make tspi/crtm.c agnostic to log format
Change-Id: I3013bd5f29f1412fbe646dc74d8946704b750a66 Ticket: https://ticket.coreboot.org/issues/423 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69445 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/commonlib')
-rw-r--r--src/commonlib/include/commonlib/tpm_log_serialized.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/commonlib/include/commonlib/tpm_log_serialized.h b/src/commonlib/include/commonlib/tpm_log_serialized.h
index dc58dc09c3..8372f94dab 100644
--- a/src/commonlib/include/commonlib/tpm_log_serialized.h
+++ b/src/commonlib/include/commonlib/tpm_log_serialized.h
@@ -6,12 +6,9 @@
#include <commonlib/bsd/helpers.h>
#include <stdint.h>
-#define MAX_TPM_LOG_ENTRIES 50
#define TPM_CB_LOG_DIGEST_MAX_LENGTH 64
#define TPM_CB_LOG_PCR_HASH_NAME 50
#define TPM_CB_LOG_PCR_HASH_LEN 10
-/* Assumption of 2K TCPA log size reserved for CAR/SRAM */
-#define MAX_PRERAM_TPM_LOG_ENTRIES 15
struct tpm_cb_log_entry {
uint32_t pcr;