]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.inf
SecurityPkg: SecureBootVariableLib: Updated signature list creator
[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
42 [Guids]
43 ## CONSUMES ## Variable:L"SetupMode"
44 ## PRODUCES ## Variable:L"SetupMode"
45 ## CONSUMES ## Variable:L"SecureBoot"
46 ## PRODUCES ## Variable:L"SecureBoot"
47 ## PRODUCES ## Variable:L"PK"
48 ## PRODUCES ## Variable:L"KEK"
49 ## CONSUMES ## Variable:L"PKDefault"
50 ## CONSUMES ## Variable:L"KEKDefault"
51 ## CONSUMES ## Variable:L"dbDefault"
52 ## CONSUMES ## Variable:L"dbxDefault"
53 ## CONSUMES ## Variable:L"dbtDefault"
54 gEfiGlobalVariableGuid
55
56 ## SOMETIMES_CONSUMES ## Variable:L"DB"
57 ## SOMETIMES_CONSUMES ## Variable:L"DBX"
58 ## SOMETIMES_CONSUMES ## Variable:L"DBT"
59 gEfiImageSecurityDatabaseGuid
60
61 ## CONSUMES ## Variable:L"SecureBootEnable"
62 ## PRODUCES ## Variable:L"SecureBootEnable"
63 gEfiSecureBootEnableDisableGuid
64
65 ## CONSUMES ## Variable:L"CustomMode"
66 ## PRODUCES ## Variable:L"CustomMode"
67 gEfiCustomModeEnableGuid
68
69 gEfiCertX509Guid ## CONSUMES
70 gEfiCertPkcs7Guid ## CONSUMES