SecureBootConfigDxe.inf 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. [Guids]
  53. ## SOMETIMES_CONSUMES ## Variable:L"CustomMode"
  54. ## SOMETIMES_PRODUCES ## Variable:L"CustomMode"
  55. gEfiCustomModeEnableGuid
  56. ## SOMETIMES_CONSUMES ## Variable:L"SecureBootEnable"
  57. ## SOMETIMES_PRODUCES ## Variable:L"SecureBootEnable"
  58. gEfiSecureBootEnableDisableGuid
  59. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  60. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  61. gEfiCertRsa2048Guid
  62. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  63. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  64. gEfiCertX509Guid
  65. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  66. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  67. gEfiCertSha1Guid
  68. ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
  69. ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
  70. gEfiCertSha256Guid
  71. ## SOMETIMES_CONSUMES ## Variable:L"db"
  72. ## SOMETIMES_PRODUCES ## Variable:L"db"
  73. ## SOMETIMES_CONSUMES ## Variable:L"dbx"
  74. ## SOMETIMES_PRODUCES ## Variable:L"dbx"
  75. gEfiImageSecurityDatabaseGuid
  76. ## SOMETIMES_CONSUMES ## Variable:L"SetupMode"
  77. ## SOMETIMES_PRODUCES ## Variable:L"PK"
  78. ## SOMETIMES_CONSUMES ## Variable:L"KEK"
  79. ## SOMETIMES_PRODUCES ## Variable:L"KEK"
  80. ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
  81. gEfiGlobalVariableGuid
  82. gEfiIfrTianoGuid ## PRODUCES ## GUID # HII opcode
  83. ## PRODUCES ## HII
  84. ## CONSUMES ## HII
  85. gSecureBootConfigFormSetGuid
  86. gEfiCertPkcs7Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  87. gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the certificate.
  88. gEfiFileSystemVolumeLabelInfoIdGuid ## SOMETIMES_CONSUMES ## GUID # Indicate the information type
  89. gEfiCertX509Sha256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  90. gEfiCertX509Sha384Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  91. gEfiCertX509Sha512Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
  92. [Protocols]
  93. gEfiHiiConfigAccessProtocolGuid ## PRODUCES
  94. gEfiDevicePathProtocolGuid ## PRODUCES
  95. [Depex]
  96. gEfiHiiConfigRoutingProtocolGuid AND
  97. gEfiHiiDatabaseProtocolGuid AND
  98. gEfiVariableArchProtocolGuid AND
  99. gEfiVariableWriteArchProtocolGuid
  100. [UserExtensions.TianoCore."ExtraFiles"]
  101. SecureBootConfigDxeExtra.uni