OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
ProcessKernelDummy.c File Reference
#include <Library/DebugLib.h>

Go to the source code of this file.

Functions

VOID OcAppleImg4RegisterOverride (IN CONST UINT8 *OriginalDigest, IN CONST UINT8 *Image, IN UINT32 ImageSize)
 

Detailed Description

Copyright (C) 2022, PMheart. All rights reserved.

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 ProcessKernelDummy.c.

Function Documentation

◆ OcAppleImg4RegisterOverride()

VOID OcAppleImg4RegisterOverride ( IN CONST UINT8 * OriginalDigest,
IN CONST UINT8 * Image,
IN UINT32 ImageSize )

Register digest override with SHA-384 hash. This allows to replace one image with another.

Parameters
[in]OriginalDigestOriginal SHA-384 digest.
[in]ImagePointer to new image.
[in]ImageSizeImage size.

Definition at line 18 of file ProcessKernelDummy.c.