crc32.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2022 ML!PA Consulting GmbH
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef CHECKSUM_CRC32_H
21 #define CHECKSUM_CRC32_H
22 
23 #include <stddef.h>
24 #include <stdint.h>
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
43 uint32_t crc32(const void *buf, size_t size);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif /* CHECKSUM_CRC32_H */
50 
uint32_t crc32(const void *buf, size_t size)
CRC-32 checksum.