## @file\r
-# The library instance provides security service of TPM measure boot.\r
+# Provides security service for TPM 1.2 measured boot\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) 2009 - 2013, Intel Corporation. All rights reserved.<BR>\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
HobLib\r
\r
[Guids]\r
- gMeasuredFvHobGuid\r
+ gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB\r
\r
[Protocols]\r
- gEfiTcgProtocolGuid ## CONSUMES\r
- gEfiFirmwareVolumeBlockProtocolGuid ## CONSUMES\r
- gEfiBlockIoProtocolGuid ## CONSUMES\r
- gEfiDiskIoProtocolGuid ## CONSUMES\r
+ gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES\r
+ gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r
+ gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES\r
+ gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES\r
\r