]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Library / DxeTpm2MeasureBootLib / DxeTpm2MeasureBootLib.inf
index 4dfd62bd7747cf9238ba96a9b979ccce2a2b51a6..2506abbe7c8bd919296302dd21c3360a185d7b80 100644 (file)
@@ -1,34 +1,38 @@
 ## @file\r
-#  The library instance provides security service of TPM2 measure boot.\r
+#  Provides security service for TPM 2.0 measured boot\r
+#\r
+#  Spec Compliance Info:\r
+#    "TCG PC Client Platform Firmware Profile Specification for TPM Family 2.0 Level 00 Revision 1.03 v51"\r
+#      along with\r
+#    "Errata for PC Client Specific Platform Firmware Profile Specification Version 1.0 Revision 1.03"\r
+#\r
+#  This library instance hooks LoadImage() API to measure every image that\r
+#  is not measured in PEI phase. And, it will also measure GPT partition.\r
 #\r
 #  Caution: This module requires additional review when modified.\r
 #  This library will have external input - PE/COFF image and GPT partition.\r
-#  This external input must be validated carefully to avoid security issue like\r
-#  buffer overflow, integer overflow.\r
+#  This external input must be validated carefully to avoid security issues such\r
+#  as buffer overflow or integer overflow.\r
 #\r
-# Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
 #\r
 ##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxeTpm2MeasureBootLib\r
+  MODULE_UNI_FILE                = DxeTpm2MeasureBootLib.uni\r
   FILE_GUID                      = 778CE4F4-36BD-4ae7-B8F0-10B420B0D174\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r
+  LIBRARY_CLASS                  = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
   CONSTRUCTOR                    = DxeTpm2MeasureBootLibConstructor\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC\r
+#  VALID_ARCHITECTURES           = IA32 X64 EBC\r
 #\r
 \r
 [Sources]\r
   HobLib\r
 \r
 [Guids]\r
-  gMeasuredFvHobGuid\r
+  gMeasuredFvHobGuid                    ## SOMETIMES_CONSUMES ## HOB\r
 \r
 [Protocols]\r
-  gEfiTrEEProtocolGuid                   ## CONSUMES\r
-  gEfiFirmwareVolumeBlockProtocolGuid   ## CONSUMES\r
-  gEfiBlockIoProtocolGuid               ## CONSUMES\r
-  gEfiDiskIoProtocolGuid                ## CONSUMES\r
+  gEfiTcg2ProtocolGuid                  ## SOMETIMES_CONSUMES\r
+  gEfiFirmwareVolumeBlockProtocolGuid   ## SOMETIMES_CONSUMES\r
+  gEfiBlockIoProtocolGuid               ## SOMETIMES_CONSUMES\r
+  gEfiDiskIoProtocolGuid                ## SOMETIMES_CONSUMES\r
 \r