• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 - 2015, Intel Corporation. All rights reserved.<BR>
8# This program and the accompanying materials
9# are licensed and made available under the terms and conditions of the BSD License
10# which accompanies this distribution. The full text of the license may be found at
11# http://opensource.org/licenses/bsd-license.php
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15##
16
17[Defines]
18  INF_VERSION                    = 0x00010005
19  BASE_NAME                      = DxeTpmMeasurementLib
20  FILE_GUID                      = 30930D10-AF5B-4abf-80E6-EB4FFC0AE9D1
21  MODULE_TYPE                    = UEFI_DRIVER
22  VERSION_STRING                 = 1.0
23  LIBRARY_CLASS                  = TpmMeasurementLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
24  MODULE_UNI_FILE                = DxeTpmMeasurementLib.uni
25
26#
27# The following information is for reference only and not required by the build tools.
28#
29#  VALID_ARCHITECTURES           = IA32 X64 IPF
30#
31
32[Sources]
33  DxeTpmMeasurementLib.c
34
35[Packages]
36  MdePkg/MdePkg.dec
37  MdeModulePkg/MdeModulePkg.dec
38  SecurityPkg/SecurityPkg.dec
39
40[LibraryClasses]
41  BaseLib
42  BaseMemoryLib
43  DebugLib
44  MemoryAllocationLib
45  UefiBootServicesTableLib
46
47[Protocols]
48  gEfiTcgProtocolGuid           ## SOMETIMES_CONSUMES
49  gEfiTcg2ProtocolGuid          ## SOMETIMES_CONSUMES
50