1## @file
2#  Provides TPM measurement functions for TPM1.2 and TPM 2.0
3#
4#  This library provides TpmMeasureAndLogData() to measure and log data, and
5#  extend the measurement result into a specific PCR.
6#
7# Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
8# SPDX-License-Identifier: BSD-2-Clause-Patent
9#
10##
11
12[Defines]
13  INF_VERSION                    = 0x00010005
14  BASE_NAME                      = DxeTpmMeasurementLib
15  FILE_GUID                      = 30930D10-AF5B-4abf-80E6-EB4FFC0AE9D1
16  MODULE_TYPE                    = UEFI_DRIVER
17  VERSION_STRING                 = 1.0
18  LIBRARY_CLASS                  = TpmMeasurementLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
19  MODULE_UNI_FILE                = DxeTpmMeasurementLib.uni
20
21#
22# The following information is for reference only and not required by the build tools.
23#
24#  VALID_ARCHITECTURES           = IA32 X64
25#
26
27[Sources]
28  DxeTpmMeasurementLib.c
29
30[Packages]
31  MdePkg/MdePkg.dec
32  MdeModulePkg/MdeModulePkg.dec
33  SecurityPkg/SecurityPkg.dec
34
35[LibraryClasses]
36  BaseLib
37  BaseMemoryLib
38  DebugLib
39  MemoryAllocationLib
40  UefiBootServicesTableLib
41
42[Protocols]
43  gEfiTcgProtocolGuid           ## SOMETIMES_CONSUMES
44  gEfiTcg2ProtocolGuid          ## SOMETIMES_CONSUMES
45