]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Common/Crc32.h
2 Header file for CalculateCrc32 routine
4 Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
12 #include <Common/UefiBaseTypes.h>
24 The CalculateCrc32 routine.
28 Data - The buffer containing the data to be processed
29 DataSize - The size of data to be processed
30 CrcOut - A pointer to the caller allocated UINT32 that on
31 contains the CRC32 checksum of Data
35 EFI_SUCCESS - Calculation is successful.
36 EFI_INVALID_PARAMETER - Data / CrcOut = NULL, or DataSize = 0