]> git.proxmox.com Git - mirror_edk2.git/blob - EdkCompatibilityPkg/Sample/Tools/Source/Common/Crc32.h
clean up the un-suitable ';' location when declaring the functions. The regular is...
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / Common / Crc32.h
1 /*++
2
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
8
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.
11
12 Module Name:
13
14 crc32.h
15
16 Abstract:
17
18 Header file for CalcuateCrc32 routine
19
20 --*/
21
22 #ifndef _CRC32_H
23 #define _CRC32_H
24 EFI_STATUS
25 CalculateCrc32 (
26 IN UINT8 *Data,
27 IN UINTN DataSize,
28 IN OUT UINT32 *CrcOut
29 );
30
31 /*++
32
33 Routine Description:
34
35 The CalculateCrc32 routine.
36
37 Arguments:
38
39 Data - The buffer contaning the data to be processed
40 DataSize - The size of data to be processed
41 CrcOut - A pointer to the caller allocated UINT32 that on
42 contains the CRC32 checksum of Data
43
44 Returns:
45
46 EFI_SUCCESS - Calculation is successful.
47 EFI_INVALID_PARAMETER - Data / CrcOut = NULL, or DataSize = 0
48
49 --*/
50 #endif