summaryrefslogtreecommitdiff
path: root/crc16.h
blob: f6591e9e58f6089fa765b59a65632ca21b03c381 (plain)
1
2
3
4
5
6
7
8
9
#ifndef CRC16_H
#define CRC16_H

#include <stddef.h>
#include <stdint.h>

uint16_t crc16(uint16_t crc, const uint8_t *buf, size_t len);

#endif // CRC16_H