TianoCore EDK2 master
Loading...
Searching...
No Matches
SecureBootVariableLib.h
Go to the documentation of this file.
1
14#ifndef SECURE_BOOT_VARIABLE_LIB_H_
15#define SECURE_BOOT_VARIABLE_LIB_H_
16
28EFIAPI
30 IN UINT8 SecureBootMode
31 );
32
41EFIAPI
43 OUT UINT8 *SetupMode
44 );
45
53BOOLEAN
54EFIAPI
56 VOID
57 );
58
77EFIAPI
79 OUT UINTN *SigListsSize,
80 OUT EFI_SIGNATURE_LIST **SigListOut,
81 IN UINTN KeyInfoCount,
83 );
84
105EFIAPI
107 IN OUT UINTN *DataSize,
108 IN OUT UINT8 **Data,
109 IN EFI_TIME *Time
110 );
111
120EFIAPI
121DeleteDb (
122 VOID
123 );
124
133EFIAPI
134DeleteDbx (
135 VOID
136 );
137
146EFIAPI
147DeleteDbt (
148 VOID
149 );
150
159EFIAPI
160DeleteKEK (
161 VOID
162 );
163
172EFIAPI
174 VOID
175 );
176
184EFIAPI
186 VOID
187 );
188
205EFIAPI
207 IN CHAR16 *VariableName,
208 IN EFI_GUID *VendorGuid,
209 IN UINTN DataSize,
210 IN VOID *Data
211 );
212
228EFIAPI
230 IN CONST SECURE_BOOT_PAYLOAD_INFO *SecureBootPayload
231 );
232
233#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI SetSecureBootMode(IN UINT8 SecureBootMode)
EFI_STATUS EFIAPI CreateTimeBasedPayload(IN OUT UINTN *DataSize, IN OUT UINT8 **Data, IN EFI_TIME *Time)
BOOLEAN EFIAPI IsSecureBootEnabled(VOID)
EFI_STATUS EFIAPI GetSetupMode(OUT UINT8 *SetupMode)
EFI_STATUS EFIAPI SecureBootCreateDataFromInput(OUT UINTN *SigListsSize, OUT EFI_SIGNATURE_LIST **SigListOut, IN UINTN KeyInfoCount, IN CONST SECURE_BOOT_CERTIFICATE_INFO *KeyInfo)
EFI_STATUS EFIAPI DeleteDbx(VOID)
EFI_STATUS EFIAPI SetSecureBootVariablesToDefault(IN CONST SECURE_BOOT_PAYLOAD_INFO *SecureBootPayload)
EFI_STATUS EFIAPI DeletePlatformKey(VOID)
EFI_STATUS EFIAPI DeleteDb(VOID)
EFI_STATUS EFIAPI DeleteKEK(VOID)
EFI_STATUS EFIAPI DeleteDbt(VOID)
EFI_STATUS EFIAPI DeleteSecureBootVariables(VOID)
EFI_STATUS EFIAPI EnrollFromInput(IN CHAR16 *VariableName, IN EFI_GUID *VendorGuid, IN UINTN DataSize, IN VOID *Data)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213