| 1 | ## @file\r |
| 2 | # Provides security service for TPM 1.2 measured boot\r |
| 3 | #\r |
| 4 | # This library instance hooks LoadImage() API to measure every image that \r |
| 5 | # is not measured in PEI phase. And, it will also measure GPT partition.\r |
| 6 | #\r |
| 7 | # Caution: This module requires additional review when modified.\r |
| 8 | # This library will have external input - PE/COFF image and GPT partition.\r |
| 9 | # This external input must be validated carefully to avoid security issues such \r |
| 10 | # as buffer overflow or integer overflow.\r |
| 11 | #\r |
| 12 | # Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r |
| 13 | # This program and the accompanying materials\r |
| 14 | # are licensed and made available under the terms and conditions of the BSD License\r |
| 15 | # which accompanies this distribution. The full text of the license may be found at\r |
| 16 | # http://opensource.org/licenses/bsd-license.php\r |
| 17 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r |
| 18 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r |
| 19 | #\r |
| 20 | ##\r |
| 21 | \r |
| 22 | [Defines]\r |
| 23 | INF_VERSION = 0x00010005\r |
| 24 | BASE_NAME = DxeTpmMeasureBootLib\r |
| 25 | MODULE_UNI_FILE = DxeTpmMeasureBootLib.uni\r |
| 26 | FILE_GUID = 6C60C7D0-922A-4b7c-87D7-E503EDD73BBF\r |
| 27 | MODULE_TYPE = DXE_DRIVER\r |
| 28 | VERSION_STRING = 1.0\r |
| 29 | LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER \r |
| 30 | CONSTRUCTOR = DxeTpmMeasureBootLibConstructor\r |
| 31 | \r |
| 32 | #\r |
| 33 | # The following information is for reference only and not required by the build tools.\r |
| 34 | #\r |
| 35 | # VALID_ARCHITECTURES = IA32 X64 IPF EBC\r |
| 36 | #\r |
| 37 | \r |
| 38 | [Sources]\r |
| 39 | DxeTpmMeasureBootLib.c\r |
| 40 | \r |
| 41 | [Packages]\r |
| 42 | MdePkg/MdePkg.dec\r |
| 43 | MdeModulePkg/MdeModulePkg.dec\r |
| 44 | SecurityPkg/SecurityPkg.dec\r |
| 45 | CryptoPkg/CryptoPkg.dec\r |
| 46 | \r |
| 47 | [LibraryClasses]\r |
| 48 | BaseMemoryLib\r |
| 49 | DebugLib\r |
| 50 | MemoryAllocationLib\r |
| 51 | DevicePathLib\r |
| 52 | UefiBootServicesTableLib\r |
| 53 | BaseCryptLib\r |
| 54 | PeCoffLib\r |
| 55 | BaseLib\r |
| 56 | SecurityManagementLib\r |
| 57 | HobLib\r |
| 58 | \r |
| 59 | [Guids]\r |
| 60 | gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB\r |
| 61 | gZeroGuid ## SOMETIMES_CONSUMES ## GUID\r |
| 62 | \r |
| 63 | [Protocols]\r |
| 64 | gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES\r |
| 65 | gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r |
| 66 | gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES\r |
| 67 | gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES\r |
| 68 | \r |