OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcPeCoffExtInternal.h
Go to the documentation of this file.
1
9#ifndef OC_PE_COFF_EXT_INTERNAL_H
10#define OC_PE_COFF_EXT_INTERNAL_H
11
13#include <Library/OcCryptoLib.h>
14
16 OFFSET_OF (EFI_IMAGE_NT_HEADERS64, CheckSum)
17 == OFFSET_OF (EFI_IMAGE_NT_HEADERS32, CheckSum),
18 "CheckSum is expected to be at the same place"
19 );
20
21#define APPLE_CHECKSUM_OFFSET OFFSET_OF (EFI_IMAGE_NT_HEADERS64, CheckSum)
22#define APPLE_CHECKSUM_SIZE sizeof (UINT32)
23
24//
25// Signature context
26//
31
32#endif // OC_PE_COFF_EXT_INTERNAL_H
STATIC_ASSERT(==OFFSET_OF(EFI_IMAGE_NT_HEADERS32, CheckSum), "CheckSum is expected to be at the same place")
struct APPLE_SIGNATURE_CONTEXT_ APPLE_SIGNATURE_CONTEXT
OC_RSA_PUBLIC_KEY * PublicKey