]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Common/Crc32.h
2 Header file for CalcuateCrc32 routine
4 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18 #include <Common/UefiBaseTypes.h>
30 The CalculateCrc32 routine.
34 Data - The buffer contaning the data to be processed
35 DataSize - The size of data to be processed
36 CrcOut - A pointer to the caller allocated UINT32 that on
37 contains the CRC32 checksum of Data
41 EFI_SUCCESS - Calculation is successful.
42 EFI_INVALID_PARAMETER - Data / CrcOut = NULL, or DataSize = 0