crc32.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2022 ML!PA Consulting GmbH
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
19 #include <stddef.h>
20 #include <stdint.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
39 uint32_t crc32(const void *buf, size_t size);
40 
41 #ifdef __cplusplus
42 }
43 #endif
44 
uint32_t crc32(const void *buf, size_t size)
CRC-32 checksum.