2011-10-28 05:46:20 +02:00
|
|
|
## @file
|
2014-08-28 07:31:09 +02:00
|
|
|
# Provides the capbility to configure secure boot in a setup browser
|
|
|
|
# By this module, user may change the content of DB, DBX, PK and KEK.
|
2011-10-28 05:46:20 +02:00
|
|
|
#
|
2014-08-28 07:31:09 +02:00
|
|
|
# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
|
2011-10-28 05:46:20 +02:00
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = SecureBootConfigDxe
|
2014-08-28 07:31:09 +02:00
|
|
|
MODULE_UNI_FILE = SecureBootConfigDxe.uni
|
2011-10-28 05:46:20 +02:00
|
|
|
FILE_GUID = F0E6A44F-7195-41c3-AC64-54F202CD0A21
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = SecureBootConfigDriverEntryPoint
|
|
|
|
UNLOAD_IMAGE = SecureBootConfigDriverUnload
|
|
|
|
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
SecureBootConfigDriver.c
|
|
|
|
SecureBootConfigImpl.c
|
2012-03-27 10:17:23 +02:00
|
|
|
SecureBootConfigFileExplorer.c
|
|
|
|
SecureBootConfigDevicePath.c
|
|
|
|
SecureBootConfigMisc.c
|
2011-10-28 05:46:20 +02:00
|
|
|
SecureBootConfigImpl.h
|
|
|
|
SecureBootConfig.vfr
|
|
|
|
SecureBootConfigStrings.uni
|
|
|
|
SecureBootConfigNvData.h
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
SecurityPkg/SecurityPkg.dec
|
2012-03-27 10:17:23 +02:00
|
|
|
CryptoPkg/CryptoPkg.dec
|
2011-10-28 05:46:20 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
|
|
|
BaseMemoryLib
|
2012-03-27 10:17:23 +02:00
|
|
|
BaseCryptLib
|
2011-10-28 05:46:20 +02:00
|
|
|
MemoryAllocationLib
|
|
|
|
UefiLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
UefiRuntimeServicesTableLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
UefiHiiServicesLib
|
|
|
|
DebugLib
|
|
|
|
HiiLib
|
2013-07-26 05:14:08 +02:00
|
|
|
PlatformSecureLib
|
|
|
|
DevicePathLib
|
2011-10-28 05:46:20 +02:00
|
|
|
|
|
|
|
[Guids]
|
2014-08-28 07:31:09 +02:00
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"CustomMode"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"CustomMode"
|
2012-03-27 10:17:23 +02:00
|
|
|
gEfiCustomModeEnableGuid
|
2014-08-28 07:31:09 +02:00
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"SecureBootEnable"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"SecureBootEnable"
|
2011-10-28 05:46:20 +02:00
|
|
|
gEfiSecureBootEnableDisableGuid
|
2014-08-28 07:31:09 +02:00
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
|
|
|
|
## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
|
|
|
|
gEfiCertRsa2048Guid
|
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
|
|
|
|
## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
|
|
|
|
gEfiCertX509Guid
|
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
|
|
|
|
## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
|
|
|
|
gEfiCertSha1Guid
|
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the signature.
|
|
|
|
## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the signature.
|
|
|
|
gEfiCertSha256Guid
|
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"db"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"db"
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"dbx"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"dbx"
|
|
|
|
gEfiImageSecurityDatabaseGuid
|
|
|
|
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"SetupMode"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"PK"
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"KEK"
|
|
|
|
## SOMETIMES_PRODUCES ## Variable:L"KEK"
|
|
|
|
## SOMETIMES_CONSUMES ## Variable:L"SecureBoot"
|
|
|
|
gEfiGlobalVariableGuid
|
|
|
|
|
|
|
|
gEfiIfrTianoGuid ## PRODUCES ## GUID # HII opcode
|
|
|
|
## PRODUCES ## HII
|
|
|
|
## CONSUMES ## HII
|
2011-10-28 05:46:20 +02:00
|
|
|
gSecureBootConfigFormSetGuid
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiCertPkcs7Guid ## SOMETIMES_PRODUCES ## GUID # Unique ID for the type of the certificate.
|
|
|
|
gEfiCertTypeRsa2048Sha256Guid ## SOMETIMES_CONSUMES ## GUID # Unique ID for the type of the certificate.
|
|
|
|
gEfiFileSystemVolumeLabelInfoIdGuid ## SOMETIMES_CONSUMES ## GUID # Indicate the information type
|
|
|
|
gEfiFileInfoGuid ## SOMETIMES_CONSUMES ## GUID # Indicate the information type
|
2011-10-28 05:46:20 +02:00
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiHiiConfigAccessProtocolGuid ## PRODUCES
|
2014-08-28 07:31:09 +02:00
|
|
|
gEfiDevicePathProtocolGuid ## PRODUCES
|
|
|
|
gEfiSimpleFileSystemProtocolGuid ## SOMETIMES_CONSUMES
|
|
|
|
gEfiBlockIoProtocolGuid ## SOMETIMES_CONSUMES
|
2011-10-28 05:46:20 +02:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
gEfiHiiConfigRoutingProtocolGuid AND
|
|
|
|
gEfiHiiDatabaseProtocolGuid AND
|
|
|
|
gEfiVariableArchProtocolGuid AND
|
|
|
|
gEfiVariableWriteArchProtocolGuid
|
2014-08-28 07:31:09 +02:00
|
|
|
|
|
|
|
[UserExtensions.TianoCore."ExtraFiles"]
|
|
|
|
SecureBootConfigDxeExtra.uni
|
|
|
|
|