]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
SecurityPkg: Clean up source files
[mirror_edk2.git] / SecurityPkg / Library / DxeTpmMeasureBootLib / DxeTpmMeasureBootLib.inf
index bf83bf10221bb832280ae7dc18e58270e3ce1618..a2c5847747713f91b515bab988af6bea2d56662e 100644 (file)
@@ -1,7 +1,15 @@
 ## @file\r
-#  The library instance provides security service of TPM measure boot.\r
+#  Provides security service for TPM 1.2 measured boot\r
 #\r
-# Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\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 issues such\r
+#  as buffer overflow or integer overflow.\r
+#\r
+# Copyright (c) 2009 - 2018, 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
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = DxeTpmMeasureBootLib\r
+  MODULE_UNI_FILE                = DxeTpmMeasureBootLib.uni\r
   FILE_GUID                      = 6C60C7D0-922A-4b7c-87D7-E503EDD73BBF\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 DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER\r
   CONSTRUCTOR                    = DxeTpmMeasureBootLibConstructor\r
 \r
 #\r
   PeCoffLib\r
   BaseLib\r
   SecurityManagementLib\r
+  HobLib\r
+\r
+[Guids]\r
+  gMeasuredFvHobGuid                    ## SOMETIMES_CONSUMES ## HOB\r
 \r
 [Protocols]\r
-  gEfiTcgProtocolGuid                   ## CONSUMES\r
-  gEfiFirmwareVolume2ProtocolGuid       ## CONSUMES\r
-  gEfiBlockIoProtocolGuid               ## CONSUMES\r
-  gEfiDiskIoProtocolGuid                ## CONSUMES\r
-  gEfiDevicePathToTextProtocolGuid      ## SOMETIMES_CONSUMES (Only used in debug mode)\r
+  gEfiTcgProtocolGuid                   ## SOMETIMES_CONSUMES\r
+  gEfiFirmwareVolumeBlockProtocolGuid   ## SOMETIMES_CONSUMES\r
+  gEfiBlockIoProtocolGuid               ## SOMETIMES_CONSUMES\r
+  gEfiDiskIoProtocolGuid                ## SOMETIMES_CONSUMES\r
+\r