Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
crc8.h
Go to the documentation of this file.
1
13#ifndef __CRC8_H__
14#define __CRC8_H__
15
16#include <wireshark.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
30WS_DLL_PUBLIC uint8_t crc8_0x2F(const uint8_t *buf, uint32_t len, uint8_t seed);
31
40WS_DLL_PUBLIC uint8_t crc8_0x37(const uint8_t *buf, uint32_t len, uint8_t seed);
41
50WS_DLL_PUBLIC uint8_t crc8_0x3B(const uint8_t *buf, uint32_t len, uint8_t seed);
51
52#ifdef __cplusplus
53}
54#endif /* __cplusplus */
55
56#endif /* crc8.h */
WS_DLL_PUBLIC uint8_t crc8_0x37(const uint8_t *buf, uint32_t len, uint8_t seed)
Calculates a CRC8 checksum for the given buffer with the polynomial 0x37 using the precompiled CRC ta...
Definition crc8.c:166
WS_DLL_PUBLIC uint8_t crc8_0x2F(const uint8_t *buf, uint32_t len, uint8_t seed)
Calculates a CRC8 checksum for the given buffer with the polynomial 0x2F using the precompiled CRC ta...
Definition crc8.c:154
WS_DLL_PUBLIC uint8_t crc8_0x3B(const uint8_t *buf, uint32_t len, uint8_t seed)
Calculates a CRC8 checksum for the given buffer with the polynomial 0x3B using the precompiled CRC ta...
Definition crc8.c:183