1 | ## @file
|
---|
2 | # Provides security service for TPM 1.2 measured boot
|
---|
3 | #
|
---|
4 | # This library instance hooks LoadImage() API to measure every image that
|
---|
5 | # is not measured in PEI phase. And, it will also measure GPT partition.
|
---|
6 | #
|
---|
7 | # Caution: This module requires additional review when modified.
|
---|
8 | # This library will have external input - PE/COFF image and GPT partition.
|
---|
9 | # This external input must be validated carefully to avoid security issues such
|
---|
10 | # as buffer overflow or integer overflow.
|
---|
11 | #
|
---|
12 | # Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
13 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
14 | #
|
---|
15 | ##
|
---|
16 |
|
---|
17 | [Defines]
|
---|
18 | INF_VERSION = 0x00010005
|
---|
19 | BASE_NAME = DxeTpmMeasureBootLib
|
---|
20 | MODULE_UNI_FILE = DxeTpmMeasureBootLib.uni
|
---|
21 | FILE_GUID = 6C60C7D0-922A-4b7c-87D7-E503EDD73BBF
|
---|
22 | MODULE_TYPE = DXE_DRIVER
|
---|
23 | VERSION_STRING = 1.0
|
---|
24 | LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
---|
25 | CONSTRUCTOR = DxeTpmMeasureBootLibConstructor
|
---|
26 |
|
---|
27 | #
|
---|
28 | # The following information is for reference only and not required by the build tools.
|
---|
29 | #
|
---|
30 | # VALID_ARCHITECTURES = IA32 X64 EBC
|
---|
31 | #
|
---|
32 |
|
---|
33 | [Sources]
|
---|
34 | DxeTpmMeasureBootLib.c
|
---|
35 | DxeTpmMeasureBootLibSanitization.c
|
---|
36 | DxeTpmMeasureBootLibSanitization.h
|
---|
37 |
|
---|
38 | [Packages]
|
---|
39 | MdePkg/MdePkg.dec
|
---|
40 | MdeModulePkg/MdeModulePkg.dec
|
---|
41 | SecurityPkg/SecurityPkg.dec
|
---|
42 | CryptoPkg/CryptoPkg.dec
|
---|
43 |
|
---|
44 | [LibraryClasses]
|
---|
45 | BaseMemoryLib
|
---|
46 | SafeIntLib
|
---|
47 | DebugLib
|
---|
48 | MemoryAllocationLib
|
---|
49 | DevicePathLib
|
---|
50 | UefiBootServicesTableLib
|
---|
51 | BaseCryptLib
|
---|
52 | PeCoffLib
|
---|
53 | BaseLib
|
---|
54 | SecurityManagementLib
|
---|
55 | HobLib
|
---|
56 |
|
---|
57 | [Guids]
|
---|
58 | gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB
|
---|
59 |
|
---|
60 | [Protocols]
|
---|
61 | gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES
|
---|
62 | gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
|
---|
63 | gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
|
---|
64 | gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES
|
---|