--- /dev/null
+/** @file\r
+ Null TPM Platform Hierarchy configuration library.\r
+\r
+ This library provides stub functions for customizing the TPM's Platform Hierarchy.\r
+\r
+ Copyright (c) 2021, IBM Corporation.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#include <Uefi.h>\r
+\r
+/**\r
+ A NULL implementation of ConfigureTpmPlatformHierarchy.\r
+**/\r
+VOID\r
+EFIAPI\r
+ConfigureTpmPlatformHierarchy (\r
+ )\r
+{\r
+ /* do nothing */\r
+}\r
--- /dev/null
+### @file\r
+# NULL TPM Platform Hierarchy configuration library.\r
+#\r
+# This library provides functions for customizing the TPM's Platform Hierarchy\r
+# Authorization Value (platformAuth) and Platform Hierarchy Authorization\r
+# Policy (platformPolicy) can be defined through this function.\r
+#\r
+# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) Microsoft Corporation.<BR>\r
+#\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
+###\r
+\r
+[Defines]\r
+ INF_VERSION = 1.27\r
+ BASE_NAME = BasePlatform\r
+ FILE_GUID = 8947A3F2-BfB4-45EF-968D-5C40C1CE6A58\r
+ MODULE_TYPE = BASE\r
+ VERSION_STRING = 1.0\r
+ LIBRARY_CLASS = TpmPlatformHierarchyLib|PEIM DXE_DRIVER\r
+\r
+[LibraryClasses]\r
+ BaseLib\r
+\r
+[Packages]\r
+ MdePkg/MdePkg.dec\r
+ SecurityPkg/SecurityPkg.dec\r
+\r
+[Sources]\r
+ PeiDxeTpmPlatformHierarchyLib.c\r
SecurityPkg/Library/HashLibTpm2/HashLibTpm2.inf\r
\r
SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r
+ SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLibNull/PeiDxeTpmPlatformHierarchyLib.inf\r
\r
#\r
# TCG Storage.\r