]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / SecurityPkg / Library / SecureBootVariableLib / SecureBootVariableLib.inf
1 ## @file
2 # Provides helper function for initialization of Secure Boot
3 # keys and databases.
4 #
5 # Copyright (c) 2021, ARM Ltd. All rights reserved.<BR>
6 # Copyright (c) 2021, Semihalf All rights reserved.<BR>
7 # Copyright (c) Microsoft Corporation.
8 #
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 ##
12
13 [Defines]
14 INF_VERSION = 0x00010005
15 BASE_NAME = SecureBootVariableLib
16 MODULE_UNI_FILE = SecureBootVariableLib.uni
17 FILE_GUID = D4FFF5CA-6D8E-4DBD-8A4B-7C7CEBD97F6F
18 MODULE_TYPE = DXE_DRIVER
19 VERSION_STRING = 1.0
20 LIBRARY_CLASS = SecureBootVariableLib|DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION
21
22 #
23 # The following information is for reference only and not required by the build tools.
24 #
25 # VALID_ARCHITECTURES = IA32 X64 AARCH64
26 #
27
28 [Sources]
29 SecureBootVariableLib.c
30
31 [Packages]
32 MdePkg/MdePkg.dec
33 MdeModulePkg/MdeModulePkg.dec
34 SecurityPkg/SecurityPkg.dec
35
36 [LibraryClasses]
37 BaseLib
38 BaseMemoryLib
39 DebugLib
40 MemoryAllocationLib
41 PlatformPKProtectionLib
42 UefiLib
43 UefiRuntimeServicesTableLib
44
45 [Guids]
46 ## CONSUMES ## Variable:L"SetupMode"
47 ## PRODUCES ## Variable:L"SetupMode"
48 ## CONSUMES ## Variable:L"SecureBoot"
49 ## PRODUCES ## Variable:L"SecureBoot"
50 ## PRODUCES ## Variable:L"PK"
51 ## PRODUCES ## Variable:L"KEK"
52 ## CONSUMES ## Variable:L"PKDefault"
53 ## CONSUMES ## Variable:L"KEKDefault"
54 ## CONSUMES ## Variable:L"dbDefault"
55 ## CONSUMES ## Variable:L"dbxDefault"
56 ## CONSUMES ## Variable:L"dbtDefault"
57 gEfiGlobalVariableGuid
58
59 ## SOMETIMES_CONSUMES ## Variable:L"DB"
60 ## SOMETIMES_CONSUMES ## Variable:L"DBX"
61 ## SOMETIMES_CONSUMES ## Variable:L"DBT"
62 gEfiImageSecurityDatabaseGuid
63
64 ## CONSUMES ## Variable:L"SecureBootEnable"
65 ## PRODUCES ## Variable:L"SecureBootEnable"
66 gEfiSecureBootEnableDisableGuid
67
68 ## CONSUMES ## Variable:L"CustomMode"
69 ## PRODUCES ## Variable:L"CustomMode"
70 gEfiCustomModeEnableGuid
71
72 gEfiCertX509Guid ## CONSUMES
73 gEfiCertPkcs7Guid ## CONSUMES