Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
18
19
#include <stddef.h>
20
#include <stdint.h>
21
22
#include "
compiler_hints.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
41
ACCESS
(read_only, 1, 2)
42
uint32_t
crc32
(const
void
*buf,
size_t
size);
43
44
#ifdef __cplusplus
45
}
46
#endif
47
compiler_hints.h
Common macros and compiler attributes/pragmas configuration.
ACCESS
#define ACCESS(mode, ptr_idx, size_idx)
Emit an attribute (if supported by the compiler) that declares how a function will access its paramet...
Definition
compiler_hints.h:196
crc32
uint32_t crc32(const void *buf, size_t size)
CRC-32 checksum.
Generated on Wed Jun 17 2026 09:18:55 by
1.13.2