SecureBootConfigDxe.inf 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. ## @file
  2. # Provides the capability to configure secure boot in a setup browser
  3. # By this module, user may change the content of DB, DBX, PK and KEK.
  4. #
  5. # Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. ##
  9. [Defines]
  10. INF_VERSION = 0x00010005
  11. BASE_NAME = SecureBootConfigDxe
  12. MODULE_UNI_FILE = SecureBootConfigDxe.uni
  13. FILE_GUID = F0E6A44F-7195-41c3-AC64-54F202CD0A21
  14. MODULE_TYPE = DXE_DRIVER
  15. VERSION_STRING = 1.0
  16. ENTRY_POINT = SecureBootConfigDriverEntryPoint
  17. UNLOAD_IMAGE = SecureBootConfigDriverUnload
  18. #
  19. # VALID_ARCHITECTURES = IA32 X64 EBC
  20. #
  21. [Sources]
  22. SecureBootConfigDriver.c
  23. SecureBootConfigImpl.c
  24. SecureBootConfigFileExplorer.c
  25. SecureBootConfigDevicePath.c
  26. SecureBootConfigMisc.c
  27. SecureBootConfigImpl.h
  28. SecureBootConfig.vfr
  29. SecureBootConfigStrings.uni
  30. SecureBootConfigNvData.h
  31. [Packages]
  32. MdePkg/MdePkg.dec
  33. MdeModulePkg/MdeModulePkg.dec
  34. SecurityPkg/SecurityPkg.dec
  35. CryptoPkg/CryptoPkg.dec
  36. [LibraryClasses]
  37. BaseLib
  38. BaseMemoryLib
  39. BaseCryptLib
  40. MemoryAllocationLib
  41. UefiLib
  42. UefiBootServicesTableLib
  43. UefiRuntimeServicesTableLib
  44. UefiDriverEntryPoint
  45. UefiHiiServicesLib
  46. DebugLib
  47. HiiLib
  48. PlatformSecureLib
  49. DevicePathLib
  50. FileExplorerLib
  51. PeCoffLib
  52. SecureBootVariableLib
  53. SecureBootVariableProvisionLib
  54. [Guids]
  55. ## SOMETIMES_CONSUMES ## Variable:L"CustomMode"
  56. ## SOMETIMES_PRODUCES ## Variable:L"CustomMode"
  57. gEfiCustomModeEnableGuid
  58. ## SOMETIMES_CONSUMES ## Variable:L"SecureBootEnable"
  59. ## SOMETIMES_PRODUCES ## Variable:L"SecureBootEnable"
  60. gEfiSecureBootEnableDisableGuid
  61. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  62. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  63. gEfiCertRsa2048Guid
  64. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  65. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  66. gEfiCertX509Guid
  67. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  68. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  69. gEfiCertSha1Guid
  70. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  71. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  72. gEfiCertSha256Guid
  73. ## SOMETIMES_CONSUMES ## Variable:L"db"
  74. ## SOMETIMES_PRODUCES ## Variable:L"db"
  75. ## SOMETIMES_CONSUMES ## Variable:L"dbx"
  76. ## SOMETIMES_PRODUCES ## Variable:L"dbx"
  77. gEfiImageSecurityDatabaseGuid
  78. ## SOMETIMES_CONSUMES ## Variable:L"SetupMode"
  79. ## SOMETIMES_PRODUCES ## Variable:L"PK"
  80. ## SOMETIMES_CONSUMES ## Variable:L"KEK"
  81. ## SOMETIMES_PRODUCES ## Variable:L"KEK"
  82. ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
  83. gEfiGlobalVariableGuid
  84. gEfiIfrTianoGuid ## PRODUCES ## GUID # HII opcode
  85. ## PRODUCES ## HII
  86. ## CONSUMES ## HII
  87. gSecureBootConfigFormSetGuid
  88. gEfiCertPkcs7Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  89. gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the certificate.
  90. gEfiFileSystemVolumeLabelInfoIdGuid ## SOMETIMES_CONSUMES ## GUID # Indicate the information type
  91. gEfiCertX509Sha256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  92. gEfiCertX509Sha384Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  93. gEfiCertX509Sha512Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  94. [Protocols]
  95. gEfiHiiConfigAccessProtocolGuid ## PRODUCES
  96. gEfiDevicePathProtocolGuid ## PRODUCES
  97. gEfiHiiPopupProtocolGuid
  98. gEfiRealTimeClockArchProtocolGuid ## CONSUMES
  99. [Depex]
  100. gEfiHiiConfigRoutingProtocolGuid AND
  101. gEfiHiiDatabaseProtocolGuid AND
  102. gEfiVariableArchProtocolGuid AND
  103. gEfiVariableWriteArchProtocolGuid
  104. [UserExtensions.TianoCore."ExtraFiles"]
  105. SecureBootConfigDxeExtra.uni