1## @file
2#  Provides authenticated variable services.
3#
4#  Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
5#
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions
8#  of the BSD License which accompanies this distribution.  The
9#  full text of the license may be found at
10#  http://opensource.org/licenses/bsd-license.php
11#
12#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15##
16
17[Defines]
18  INF_VERSION                    = 0x00010005
19  BASE_NAME                      = AuthVariableLib
20  MODULE_UNI_FILE                = AuthVariableLib.uni
21  FILE_GUID                      = B23CF5FB-6FCC-4422-B145-D855DBC05457
22  MODULE_TYPE                    = DXE_RUNTIME_DRIVER
23  VERSION_STRING                 = 1.0
24  LIBRARY_CLASS                  = AuthVariableLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER
25
26#
27# The following information is for reference only and not required by the build tools.
28#
29#  VALID_ARCHITECTURES           = IA32 X64
30#
31
32[Sources]
33  AuthVariableLib.c
34  AuthService.c
35  AuthServiceInternal.h
36
37[Packages]
38  MdePkg/MdePkg.dec
39  MdeModulePkg/MdeModulePkg.dec
40  SecurityPkg/SecurityPkg.dec
41  CryptoPkg/CryptoPkg.dec
42
43[LibraryClasses]
44  BaseLib
45  BaseMemoryLib
46  DebugLib
47  MemoryAllocationLib
48  BaseCryptLib
49  PlatformSecureLib
50
51[Guids]
52  ## CONSUMES            ## Variable:L"SetupMode"
53  ## PRODUCES            ## Variable:L"SetupMode"
54  ## SOMETIMES_CONSUMES  ## Variable:L"PK"
55  ## SOMETIMES_CONSUMES  ## Variable:L"KEK"
56  ## CONSUMES            ## Variable:L"SecureBoot"
57  ## PRODUCES            ## Variable:L"SecureBoot"
58  ## CONSUMES            ## Variable:L"SignatureSupport"
59  ## PRODUCES            ## Variable:L"SignatureSupport"
60  ## PRODUCES            ## Variable:L"VendorKeys"
61  gEfiGlobalVariableGuid
62
63  ## SOMETIMES_CONSUMES  ## Variable:L"DB"
64  ## SOMETIMES_CONSUMES  ## Variable:L"DBX"
65  ## SOMETIMES_CONSUMES  ## Variable:L"DBT"
66  gEfiImageSecurityDatabaseGuid
67
68  ## CONSUMES            ## Variable:L"SecureBootEnable"
69  ## PRODUCES            ## Variable:L"SecureBootEnable"
70  gEfiSecureBootEnableDisableGuid
71
72  ## CONSUMES            ## Variable:L"CustomMode"
73  ## PRODUCES            ## Variable:L"CustomMode"
74  gEfiCustomModeEnableGuid
75
76  ## CONSUMES            ## Variable:L"certdb"
77  ## PRODUCES            ## Variable:L"certdb"
78  gEfiCertDbGuid
79
80  ## CONSUMES            ## Variable:L"VendorKeysNv"
81  ## PRODUCES            ## Variable:L"VendorKeysNv"
82  gEfiVendorKeysNvGuid
83
84  ## CONSUMES            ## Variable:L"AuthVarKeyDatabase"
85  ## PRODUCES            ## Variable:L"AuthVarKeyDatabase"
86  gEfiAuthenticatedVariableGuid
87
88  ## CONSUMES            ## Variable:L"SecureBootMode"
89  ## PRODUCES            ## Variable:L"SecureBootMode"
90  gEdkiiSecureBootModeGuid
91
92  gEfiCertTypeRsa2048Sha256Guid  ## SOMETIMES_CONSUMES   ## GUID  # Unique ID for the type of the certificate.
93  gEfiCertPkcs7Guid              ## SOMETIMES_CONSUMES   ## GUID  # Unique ID for the type of the certificate.
94  gEfiCertX509Guid               ## SOMETIMES_CONSUMES   ## GUID  # Unique ID for the type of the signature.
95