a91f09fec1fd77bca7a26a61d23ebf9194345f4d
[metze/wireshark/wip.git] / wsutil / crc6.h
1 /*
2  *  crc6.h
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10
11 #ifndef __CRC6_H__
12 #define __CRC6_H__
13
14 #include "ws_symbol_export.h"
15
16 WS_DLL_PUBLIC guint16 update_crc6_by_bytes(guint16 crc6, guint8 byte1, guint8 byte2);
17 WS_DLL_PUBLIC guint16 crc6_compute(const guint8 *data_blk_ptr, int data_blk_size);
18
19 #endif /* __CRC6_H__ */