aboutsummaryrefslogtreecommitdiff
path: root/include/efi_tcg2.h
diff options
context:
space:
mode:
authorIlias Apalodimas2024-06-23 14:48:13 +0300
committerHeinrich Schuchardt2024-06-30 13:58:31 +0200
commit6ea97fe44159dbbcb7bea914654da7f99dc348fa (patch)
treeb3132c541ec3cc86ccc6d82284697602148659aa /include/efi_tcg2.h
parent0b07b5ed8153869e2e71a7e008d2ced78756d657 (diff)
efi_loader: remove unused TCG algo definitions
commit 97707f12fdab ("tpm: Support boot measurements") moved some of the EFI TCG code to the TPM subsystem. Those definitions are now in tpm-v2.h. Let's remove the stale entries Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'include/efi_tcg2.h')
-rw-r--r--include/efi_tcg2.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h
index a75b5a35b6e..54490969b2d 100644
--- a/include/efi_tcg2.h
+++ b/include/efi_tcg2.h
@@ -25,14 +25,6 @@
#define PE_COFF_IMAGE 0x0000000000000010
#define EFI_TCG2_MAX_PCR_INDEX 23
-
-/* Algorithm Registry */
-#define EFI_TCG2_BOOT_HASH_ALG_SHA1 0x00000001
-#define EFI_TCG2_BOOT_HASH_ALG_SHA256 0x00000002
-#define EFI_TCG2_BOOT_HASH_ALG_SHA384 0x00000004
-#define EFI_TCG2_BOOT_HASH_ALG_SHA512 0x00000008
-#define EFI_TCG2_BOOT_HASH_ALG_SM3_256 0x00000010
-
#define EFI_TCG2_FINAL_EVENTS_TABLE_VERSION 1
#define TPM2_EVENT_LOG_SIZE CONFIG_EFI_TCG2_PROTOCOL_EVENTLOG_SIZE