]>
Commit | Line | Data |
---|---|---|
f38a1528 | 1 | //----------------------------------------------------------------------------- |
2 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
3 | // at your option, any later version. See the LICENSE.txt file for the text of | |
4 | // the license. | |
5 | //----------------------------------------------------------------------------- | |
6 | // CRC32 | |
7 | //----------------------------------------------------------------------------- | |
8 | ||
9 | #ifndef __CRC32_H | |
10 | #define __CRC32_H | |
11 | ||
1b75698c | 12 | #include <stdint.h> |
13 | #include <stddef.h> | |
14 | ||
1b75698c | 15 | #ifdef __cplusplus |
16 | extern "C" { | |
17 | #endif | |
18 | ||
e36b07ef | 19 | void crc32_ex(const uint8_t *data, const size_t len, uint8_t *crc); |
3e134b4c | 20 | void crc32_append (uint8_t *data, const size_t len); |
f38a1528 | 21 | |
1b75698c | 22 | #ifdef __cplusplus |
23 | } | |
24 | #endif | |
25 | ||
f38a1528 | 26 | #endif |