summaryrefslogtreecommitdiffstats
path: root/src/boot/efi/crc32.h
blob: 3af543b84e5241ded57ffaadc905c734e2a8dbf2 (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: LicenseRef-crc32-no-restriction */
#pragma once

#include <efi.h>
#include <efilib.h>

UINT32 crc32(UINT32 seed, const VOID *buf, UINTN len);
UINT32 crc32_exclude_offset(UINT32 seed, const VOID *buf, UINTN len, UINTN exclude_off, UINTN exclude_len);