DxeTpmMeasureBootLib.inf 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. [Defines]
  17. INF_VERSION = 0x00010005
  18. BASE_NAME = DxeTpmMeasureBootLib
  19. MODULE_UNI_FILE = DxeTpmMeasureBootLib.uni
  20. FILE_GUID = 6C60C7D0-922A-4b7c-87D7-E503EDD73BBF
  21. MODULE_TYPE = DXE_DRIVER
  22. VERSION_STRING = 1.0
  23. LIBRARY_CLASS = NULL|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
  24. CONSTRUCTOR = DxeTpmMeasureBootLibConstructor
  25. #
  26. # The following information is for reference only and not required by the build tools.
  27. #
  28. # VALID_ARCHITECTURES = IA32 X64 EBC
  29. #
  30. [Sources]
  31. DxeTpmMeasureBootLib.c
  32. [Packages]
  33. MdePkg/MdePkg.dec
  34. MdeModulePkg/MdeModulePkg.dec
  35. SecurityPkg/SecurityPkg.dec
  36. CryptoPkg/CryptoPkg.dec
  37. [LibraryClasses]
  38. BaseMemoryLib
  39. DebugLib
  40. MemoryAllocationLib
  41. DevicePathLib
  42. UefiBootServicesTableLib
  43. BaseCryptLib
  44. PeCoffLib
  45. BaseLib
  46. SecurityManagementLib
  47. HobLib
  48. [Guids]
  49. gMeasuredFvHobGuid ## SOMETIMES_CONSUMES ## HOB
  50. [Protocols]
  51. gEfiTcgProtocolGuid ## SOMETIMES_CONSUMES
  52. gEfiFirmwareVolumeBlockProtocolGuid ## SOMETIMES_CONSUMES
  53. gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
  54. gEfiDiskIoProtocolGuid ## SOMETIMES_CONSUMES