]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tpm: add event log format version
authorThiebaud Weksteen <tweek@google.com>
Wed, 20 Sep 2017 08:13:38 +0000 (10:13 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 8 Jan 2018 10:58:34 +0000 (12:58 +0200)
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>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Javier Martinez Canillas <javierm@redhat.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
include/linux/tpm_eventlog.h

index a2a86783f974b1e449e53929387df2a24e9ddf2c..20d9da77fc11894380b6dc7d47cdefac13222267 100644 (file)
@@ -10,6 +10,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