diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2021-09-13 22:20:57 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-09-13 16:53:14 +0000 |
commit | 610d8073f29f30aa2f9dd58fe9d59e0dc979d085 (patch) | |
tree | b0baa4a1fc18030d9532d660074cf719cbcc781d /SecurityPkg/Include | |
parent | dcd3d63f4f77da5540bfe35d8ccb040d70644568 (diff) | |
download | edk2-610d8073f29f30aa2f9dd58fe9d59e0dc979d085.zip edk2-610d8073f29f30aa2f9dd58fe9d59e0dc979d085.tar.gz edk2-610d8073f29f30aa2f9dd58fe9d59e0dc979d085.tar.bz2 |
SecurityPkg/TPM: Import PeiDxeTpmPlatformHierarchyLib.c from edk2-platforms
Import PeiDxeTpmPlatformHierarchyLib from edk2-platforms without any
modifications.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Diffstat (limited to 'SecurityPkg/Include')
-rw-r--r-- | SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h b/SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h new file mode 100644 index 0000000..a872fa0 --- /dev/null +++ b/SecurityPkg/Include/Library/TpmPlatformHierarchyLib.h @@ -0,0 +1,27 @@ +/** @file
+ TPM Platform Hierarchy configuration library.
+
+ This library provides functions for customizing the TPM's Platform Hierarchy
+ Authorization Value (platformAuth) and Platform Hierarchy Authorization
+ Policy (platformPolicy) can be defined through this function.
+
+Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+Copyright (c) Microsoft Corporation.<BR>
+SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+#ifndef _TPM_PLATFORM_HIERARCHY_LIB_H_
+#define _TPM_PLATFORM_HIERARCHY_LIB_H_
+
+/**
+ This service will perform the TPM Platform Hierarchy configuration at the SmmReadyToLock event.
+
+**/
+VOID
+EFIAPI
+ConfigureTpmPlatformHierarchy (
+ VOID
+ );
+
+#endif
|