OpenCore
1.0.4
OpenCore Bootloader
|
Go to the source code of this file.
Functions | |
voidpf ZLIB_INTERNAL | zcalloc (voidpf opaque, unsigned items, unsigned size) |
void ZLIB_INTERNAL | zcfree (voidpf opaque, voidpf ptr) |
UINT8 * | CompressZLIB (OUT UINT8 *Dst, IN UINT32 DstLen, IN CONST UINT8 *Src, IN UINT32 SrcLen) |
UINTN | DecompressZLIB (OUT UINT8 *Dst, IN UINTN DstLen, IN CONST UINT8 *Src, IN UINTN SrcLen) |
UINT32 | Adler32 (IN CONST UINT8 *Buffer, IN UINT32 BufferLen) |
Copyright (C) 2019, vit9696. 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 zlib_uefi.c.
UINT32 Adler32 | ( | IN CONST UINT8 * | Buffer, |
IN UINT32 | BufferLen ) |
Calculates Adler32 checksum.
[in] | Buffer | Source buffer. |
[in] | BufferLen | Source buffer size. |
Definition at line 80 of file zlib_uefi.c.
UINT8 * CompressZLIB | ( | OUT UINT8 * | Dst, |
IN UINT32 | DstLen, | ||
IN CONST UINT8 * | Src, | ||
IN UINT32 | SrcLen ) |
Compress buffer with ZLIB algorithm.
[out] | Dst | Destination buffer. |
[in] | DstLen | Destination buffer size. |
[in] | Src | Source buffer. |
[in] | SrcLen | Source buffer size. |
Definition at line 38 of file zlib_uefi.c.
UINTN DecompressZLIB | ( | OUT UINT8 * | Dst, |
IN UINTN | DstLen, | ||
IN CONST UINT8 * | Src, | ||
IN UINTN | SrcLen ) |
Decompress buffer with ZLIB algorithm.
[out] | Dst | Destination buffer. |
[in] | DstLen | Destination buffer size. |
[in] | Src | Source buffer. |
[in] | SrcLen | Source buffer size. |
Definition at line 59 of file zlib_uefi.c.
voidpf ZLIB_INTERNAL zcalloc | ( | voidpf | opaque, |
unsigned | items, | ||
unsigned | size ) |
Definition at line 20 of file zlib_uefi.c.
void ZLIB_INTERNAL zcfree | ( | voidpf | opaque, |
voidpf | ptr ) |
Definition at line 29 of file zlib_uefi.c.