## @file\r
-# Component name for SecureBoot configuration module.\r
+# Provides the capability to configure secure boot in a setup browser\r
+# By this module, user may change the content of DB, DBX, PK and KEK.\r
#\r
-# Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = SecureBootConfigDxe\r
+ MODULE_UNI_FILE = SecureBootConfigDxe.uni\r
FILE_GUID = F0E6A44F-7195-41c3-AC64-54F202CD0A21\r
MODULE_TYPE = DXE_DRIVER\r
VERSION_STRING = 1.0\r
UNLOAD_IMAGE = SecureBootConfigDriverUnload\r
\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
#\r
\r
[Sources]\r
UefiHiiServicesLib\r
DebugLib\r
HiiLib\r
- PlatformSecureLib \r
+ PlatformSecureLib\r
+ DevicePathLib\r
+ FileExplorerLib\r
+ PeCoffLib\r
\r
[Guids]\r
- gEfiIfrTianoGuid\r
+ ## SOMETIMES_CONSUMES ## Variable:L"CustomMode"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"CustomMode"\r
gEfiCustomModeEnableGuid\r
+\r
+ ## SOMETIMES_CONSUMES ## Variable:L"SecureBootEnable"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"SecureBootEnable"\r
gEfiSecureBootEnableDisableGuid\r
+\r
+ ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.\r
+ ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.\r
+ gEfiCertRsa2048Guid\r
+\r
+ ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.\r
+ ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.\r
+ gEfiCertX509Guid\r
+\r
+ ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.\r
+ ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.\r
+ gEfiCertSha1Guid\r
+\r
+ ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.\r
+ ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.\r
+ gEfiCertSha256Guid\r
+\r
+ ## SOMETIMES_CONSUMES ## Variable:L"db"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"db"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"dbx"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"dbx"\r
+ gEfiImageSecurityDatabaseGuid\r
+\r
+ ## SOMETIMES_CONSUMES ## Variable:L"SetupMode"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"PK"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"KEK"\r
+ ## SOMETIMES_PRODUCES ## Variable:L"KEK"\r
+ ## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"\r
+ gEfiGlobalVariableGuid\r
+\r
+ gEfiIfrTianoGuid ## PRODUCES ## GUID # HII opcode\r
+ ## PRODUCES ## HII\r
+ ## CONSUMES ## HII\r
gSecureBootConfigFormSetGuid\r
- gEfiCertRsa2048Guid ## CONSUMES\r
- gEfiCertX509Guid ## CONSUMES\r
- gEfiCertSha1Guid ## CONSUMES\r
- gEfiCertSha256Guid ## CONSUMES\r
- gEfiCertTypeRsa2048Sha256Guid ## CONSUMES\r
- gEfiImageSecurityDatabaseGuid ## CONSUMES\r
- gEfiFileSystemVolumeLabelInfoIdGuid ## CONSUMES\r
- gEfiGlobalVariableGuid ## PRODUCES ## Variable Guid\r
- gEfiVT100PlusGuid ## CONSUMES ## GUID (The type of terminal)\r
- gEfiVT100Guid ## CONSUMES ## GUID (The type of terminal)\r
- ## CONSUMES ## GUID HOB (The hob holding memory type information)\r
- gEfiVTUTF8Guid ## CONSUMES ## GUID (The type of terminal)\r
- ## SOMETIMES_CONSUMES ## Variable:L"BootXX" (Boot option variable)\r
- ## CONSUMES ## Variable:L"Timeout" (The time out value in second of showing progress bar)\r
- ## SOMETIMES_CONSUMES ## Variable:L"BootOrder" (The boot option array)\r
- ## SOMETIMES_CONSUMES ## Variable:L"DriverOrder" (The driver order list)\r
- ## SOMETIMES_CONSUMES ## Variable:L"ConIn" (The device path of console in device)\r
- ## SOMETIMES_CONSUMES ## Variable:L"ConOut" (The device path of console out device)\r
- ## SOMETIMES_CONSUMES ## Variable:L"ErrOut" (The device path of error out device)\r
- gEfiFileInfoGuid ## CONSUMES ## GUID\r
- gEfiPcAnsiGuid ## CONSUMES ## GUID (The type of terminal)\r
- gEfiUartDevicePathGuid ## CONSUMES ## GUID (Identify the device path for UARD device)\r
- gEfiSasDevicePathGuid ## CONSUMES ## GUID (Identify the device path for SAS device)\r
+ gEfiCertPkcs7Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.\r
+ gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the certificate.\r
+ gEfiFileSystemVolumeLabelInfoIdGuid ## SOMETIMES_CONSUMES ## GUID # Indicate the information type\r
+\r
+ gEfiCertX509Sha256Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.\r
+ gEfiCertX509Sha384Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.\r
+ gEfiCertX509Sha512Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.\r
\r
[Protocols]\r
gEfiHiiConfigAccessProtocolGuid ## PRODUCES\r
- gEfiHiiConfigRoutingProtocolGuid ## CONSUMES\r
- gEfiSimpleFileSystemProtocolGuid ## PROTOCOL CONSUMES\r
- gEfiLoadFileProtocolGuid ## PROTOCOL CONSUMES\r
- gEfiBlockIoProtocolGuid ## PROTOCOL CONSUMES\r
- gEfiDevicePathProtocolGuid ## PROTOCOL CONSUMES\r
- gEfiDevicePathToTextProtocolGuid\r
- gEfiDebugPortProtocolGuid\r
+ gEfiDevicePathProtocolGuid ## PRODUCES\r
\r
[Depex]\r
gEfiHiiConfigRoutingProtocolGuid AND\r
gEfiHiiDatabaseProtocolGuid AND\r
gEfiVariableArchProtocolGuid AND\r
gEfiVariableWriteArchProtocolGuid\r
+\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ SecureBootConfigDxeExtra.uni\r