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 
9 #pragma once
10 
22 #include <stddef.h>
23 #include <stdint.h>
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
42 uint32_t crc32(const void *buf, size_t size);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
uint32_t crc32(const void *buf, size_t size)
CRC-32 checksum.