]> git.saurik.com Git - apple/security.git/blob - Security/libsecurity_utilities/lib/crc.h
Security-57031.40.6.tar.gz
[apple/security.git] / Security / libsecurity_utilities / lib / crc.h
1 #ifndef __CRC__
2 #define __CRC__
3
4 #include <sys/types.h>
5
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 u_int32_t CalculateCRC(u_int8_t* buffer, size_t length);
11 u_int32_t StagedCRC(u_int32_t initialCRC, u_int8_t* buffer, size_t length);
12
13 #ifdef __cplusplus
14 };
15 #endif
16
17
18 #endif