SecurityPkg: Use IsZeroGuid API for zero GUID checking
[mirror_edk2.git] / SecurityPkg / Library / DxeTpm2MeasureBootLib / DxeTpm2MeasureBootLib.inf
CommitLineData
c1d93242 1## @file\r
60c944c7
DG
2# Provides security service for TPM 2.0 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
c1d93242
JY
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
60c944c7
DG
9# This external input must be validated carefully to avoid security issues such \r
10# as buffer overflow or integer overflow.\r
c1d93242 11#\r
965268ea 12# Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>\r
c1d93242
JY
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 = DxeTpm2MeasureBootLib\r
60c944c7 25 MODULE_UNI_FILE = DxeTpm2MeasureBootLib.uni\r
c1d93242
JY
26 FILE_GUID = 778CE4F4-36BD-4ae7-B8F0-10B420B0D174\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 = DxeTpm2MeasureBootLibConstructor\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 DxeTpm2MeasureBootLib.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
60c944c7 60 gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB\r
c1d93242
JY
61\r
62[Protocols]\r
1abfa4ce 63 gEfiTcg2ProtocolGuid ## SOMETIMES_CONSUMES\r
60c944c7
DG
64 gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES\r
65 gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES\r
66 gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES\r
c1d93242 67\r