OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
libDERImg4_config.h File Reference

Go to the source code of this file.

Macros

#define DER_IMG4_MAX_DIGEST_SIZE   64
 
#define DER_IMG4_MAN_CERT_CHAIN_MAX   5
 
#define DER_IMG4_MAX_CERT_SIZE   0x1FFFFU
 

Functions

bool DERImg4VerifySignature (DERByte *Modulus, DERSize ModulusSize, uint32_t Exponent, const uint8_t *Signature, size_t SignatureSize, uint8_t *Data, size_t DataSize, const DERItem *AlgoOid)
 

Variables

const UINT8 * DERImg4RootCertificate
 
const UINTN * DERImg4RootCertificateSize
 

Detailed Description

Copyright (C) 2019, Download-Fritz. All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file libDERImg4_config.h.

Macro Definition Documentation

◆ DER_IMG4_MAN_CERT_CHAIN_MAX

#define DER_IMG4_MAN_CERT_CHAIN_MAX   5

Definition at line 41 of file libDERImg4_config.h.

◆ DER_IMG4_MAX_CERT_SIZE

#define DER_IMG4_MAX_CERT_SIZE   0x1FFFFU

Definition at line 49 of file libDERImg4_config.h.

◆ DER_IMG4_MAX_DIGEST_SIZE

#define DER_IMG4_MAX_DIGEST_SIZE   64

Definition at line 21 of file libDERImg4_config.h.

Function Documentation

◆ DERImg4VerifySignature()

bool DERImg4VerifySignature ( DERByte * Modulus,
DERSize ModulusSize,
uint32_t Exponent,
const uint8_t * Signature,
size_t SignatureSize,
uint8_t * Data,
size_t DataSize,
const DERItem * AlgoOid )

Definition at line 112 of file OcAppleImg4Lib.c.

Variable Documentation

◆ DERImg4RootCertificate

const UINT8* DERImg4RootCertificate
extern

Definition at line 35 of file OcAppleImg4Lib.c.

◆ DERImg4RootCertificateSize

const UINTN* DERImg4RootCertificateSize
extern

Definition at line 36 of file OcAppleImg4Lib.c.