Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 38 lines (31 sloc) 0.664 kb
0848fab Switch to using db format for MokList and MokNew
Matthew Garrett authored
1 #include "PeImage.h"
2
f4b2473 Install a protocol for sharing code with grub
Matthew Garrett authored
3 #define SHIM_LOCK_GUID \
4 { 0x605dab50, 0xe046, 0x4300, {0xab, 0xb6, 0x3d, 0xd8, 0x10, 0xdd, 0x8b, 0x23} }
5
6 INTERFACE_DECL(_SHIM_LOCK);
7
8 typedef
9 EFI_STATUS
21543b6 We're not MSABI, so don't advertise this as such
Matthew Garrett authored
10 (*EFI_SHIM_LOCK_VERIFY) (
3037240 @vathpela Fix typos.
vathpela authored
11 IN VOID *buffer,
12 IN UINT32 size
f4b2473 Install a protocol for sharing code with grub
Matthew Garrett authored
13 );
14
0848fab Switch to using db format for MokList and MokNew
Matthew Garrett authored
15 typedef
16 EFI_STATUS
17 (*EFI_SHIM_LOCK_HASH) (
18 IN char *data,
19 IN int datasize,
20 PE_COFF_LOADER_IMAGE_CONTEXT *context,
21 UINT8 *sha256hash,
22 UINT8 *sha1hash
23 );
24
25 typedef
26 EFI_STATUS
27 (*EFI_SHIM_LOCK_CONTEXT) (
28 IN VOID *data,
29 IN unsigned int datasize,
30 PE_COFF_LOADER_IMAGE_CONTEXT *context
31 );
32
f4b2473 Install a protocol for sharing code with grub
Matthew Garrett authored
33 typedef struct _SHIM_LOCK {
34 EFI_SHIM_LOCK_VERIFY Verify;
0848fab Switch to using db format for MokList and MokNew
Matthew Garrett authored
35 EFI_SHIM_LOCK_HASH Hash;
36 EFI_SHIM_LOCK_CONTEXT Context;
f4b2473 Install a protocol for sharing code with grub
Matthew Garrett authored
37 } SHIM_LOCK;
Something went wrong with that request. Please try again.