]>
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 | ||
15 | ||
16 | #ifdef __cplusplus | |
17 | extern "C" { | |
18 | #endif | |
19 | ||
3e134b4c | 20 | void crc32 (const uint8_t *data, const size_t len, uint8_t *crc); |
21 | void crc32_append (uint8_t *data, const size_t len); | |
f38a1528 | 22 | |
1b75698c | 23 | #ifdef __cplusplus |
24 | } | |
25 | #endif | |
26 | ||
f38a1528 | 27 | #endif |