summaryrefslogtreecommitdiff
path: root/crc24q.h
blob: 832212a9442915d56eeeccbed38039e96281f369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Interface for CRC-24Q cyclic redundancy chercksum code
 *
 * This file is Copyright (c) 2010 by the GPSD project
 * SPDX-License-Identifier: BSD-2-clause
 */
#ifndef _CRC24Q_H_
#define _CRC24Q_H_


extern void crc24q_sign(unsigned char *data, int len);

extern bool crc24q_check(unsigned char *data, int len);

extern unsigned crc24q_hash(unsigned char *data, int len);
#endif /* _CRC24Q_H_ */