Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735617

[PATCH v3 3/5] tpm: add event log format version

From Thiebaud Weksteen <tweek@google.com>
Newsgroups linux.kernel
Subject [PATCH v3 3/5] tpm: add event log format version
Date 2017-09-20 10:20 +0200
Message-ID <urIoF-qm-1@gated-at.bofh.it> (permalink)
References <urIoF-qm-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Although defined as part of the TCG EFI specification, we add these
definitions here so that any event log provider may reference them.

Signed-off-by: Thiebaud Weksteen <tweek@google.com>
---
 include/linux/tpm_eventlog.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/tpm_eventlog.h b/include/linux/tpm_eventlog.h
index 446656d1f317..6337614b0855 100644
--- a/include/linux/tpm_eventlog.h
+++ b/include/linux/tpm_eventlog.h
@@ -8,6 +8,9 @@
 #define ACPI_TCPA_SIG		"TCPA"	/* 0x41504354 /'TCPA' */
 #define TPM2_ACTIVE_PCR_BANKS	3
 
+#define EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2 0x1
+#define EFI_TCG2_EVENT_LOG_FORMAT_TCG_2   0x2
+
 #ifdef CONFIG_PPC64
 #define do_endian_conversion(x) be32_to_cpu(x)
 #else
-- 
2.14.1.821.g8fa685d3b7-goog

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v3 3/5] tpm: add event log format version Thiebaud Weksteen <tweek@google.com> - 2017-09-20 10:20 +0200

csiph-web