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