summaryrefslogtreecommitdiffstats
path: root/SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
blob: 3af3d4e33b25b1e72ccf9440cfb2ff41fea74e36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
## @file
#  Provides below measurement functions:
#    1. TPM measurement functions for TPM1.2 and TPM 2.0
#    2. Confidential Computing (CC) measurement functions
#
#  This library provides TpmMeasureAndLogData() to measure and log data, and
#  extend the measurement result into a specific PCR.
#
# Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##

[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = DxeTpmMeasurementLib
  FILE_GUID                      = 30930D10-AF5B-4abf-80E6-EB4FFC0AE9D1
  MODULE_TYPE                    = UEFI_DRIVER
  VERSION_STRING                 = 1.0
  LIBRARY_CLASS                  = TpmMeasurementLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
  MODULE_UNI_FILE                = DxeTpmMeasurementLib.uni

#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = IA32 X64
#

[Sources]
  DxeTpmMeasurementLib.c

[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec
  SecurityPkg/SecurityPkg.dec

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  DebugLib
  MemoryAllocationLib
  UefiBootServicesTableLib

[Protocols]
  gEfiTcgProtocolGuid               ## SOMETIMES_CONSUMES
  gEfiTcg2ProtocolGuid              ## SOMETIMES_CONSUMES
  gEfiCcMeasurementProtocolGuid     ## SOMETIMES_CONSUMES