PeiRsa2048Sha256GuidedSectionExtractLib.inf 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ## @file
  2. # This library doesn't produce any library class. The constructor function uses
  3. # ExtractGuidedSectionLib service to register an RSA 2048 SHA 256 guided section handler
  4. # that parses RSA 2048 SHA 256 encapsulation section and extracts raw data.
  5. #
  6. # It uses the BaseCryptLib based on OpenSSL to authenticate the signature.
  7. #
  8. # Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
  9. #
  10. # SPDX-License-Identifier: BSD-2-Clause-Patent
  11. #
  12. ##
  13. [Defines]
  14. INF_VERSION = 0x00010005
  15. BASE_NAME = PeiRsa2048Sha256GuidedSectionExtractLib
  16. FILE_GUID = FD5F2C91-4878-4007-BBA1-1B91DD325438
  17. MODULE_TYPE = PEIM
  18. VERSION_STRING = 1.0
  19. LIBRARY_CLASS = NULL|PEI_CORE PEIM
  20. CONSTRUCTOR = PeiRsa2048Sha256GuidedSectionExtractLibConstructor
  21. MODULE_UNI_FILE = PeiRsa2048Sha256GuidedSectionExtractLib.uni
  22. #
  23. # The following information is for reference only and not required by the build tools.
  24. #
  25. # VALID_ARCHITECTURES = IA32 X64
  26. #
  27. [Sources]
  28. PeiRsa2048Sha256GuidedSectionExtractLib.c
  29. [Packages]
  30. MdePkg/MdePkg.dec
  31. CryptoPkg/CryptoPkg.dec
  32. SecurityPkg/SecurityPkg.dec
  33. [LibraryClasses]
  34. ExtractGuidedSectionLib
  35. DebugLib
  36. BaseMemoryLib
  37. MemoryAllocationLib
  38. BaseCryptLib
  39. PcdLib
  40. PerformanceLib
  41. [Pcd]
  42. gEfiSecurityPkgTokenSpaceGuid.PcdRsa2048Sha256PublicKeyBuffer ## SOMETIMES_CONSUMES
  43. [Guids]
  44. gEfiCertTypeRsa2048Sha256Guid ## PRODUCES ## UNDEFINED # Specifies RSA 2048 SHA 256 authentication algorithm.
  45. gEfiHashAlgorithmSha256Guid ## SOMETIMES_CONSUMES ## UNDEFINED