diff options
author | Ilias Apalodimas | 2024-06-23 14:48:14 +0300 |
---|---|---|
committer | Heinrich Schuchardt | 2024-06-30 13:58:31 +0200 |
commit | 27b462cec15c994f9490425094c7e405d539f3e7 (patch) | |
tree | e5119004d520d4e503f73871aa00d1fdd7218112 /include/efi_tcg2.h | |
parent | 6ea97fe44159dbbcb7bea914654da7f99dc348fa (diff) |
tpm: Move TCG headers into a separate file
commit 97707f12fdab ("tpm: Support boot measurements") moved out code
from the EFI subsystem into the TPM one to support measurements when
booting with !EFI.
Those were moved directly into the TPM subsystem and in the tpm-v2.c
library. In hindsight, it would have been better to move it in new
files since the TCG2 is governed by its own spec, it's overeall cleaner
and also easier to enable certain parts of the TPM functionality.
So let's start moving the headers in a new file containing the TCG
specific bits.
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/efi_tcg2.h')
-rw-r--r-- | include/efi_tcg2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h index 54490969b2d..8dfb1bc9527 100644 --- a/include/efi_tcg2.h +++ b/include/efi_tcg2.h @@ -18,6 +18,7 @@ #include <efi_api.h> #include <tpm-v2.h> +#include <tpm_tcg2.h> /* TPMV2 only */ #define TCG2_EVENT_LOG_FORMAT_TCG_2 0x00000002 |