SEcube
SEcube Open Source Library - Device
crc16.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <stddef.h>
9 #include <stdint.h>
10 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16  extern const uint16_t se3_crc16_table[0x100];
17 
27  uint16_t se3_crc16_update(size_t length, const uint8_t* data, uint16_t crc);
28 
29 #ifdef __cplusplus
30 }
31 #endif
uint16_t se3_crc16_update(size_t length, const uint8_t *data, uint16_t crc)
Compute CRC.
Definition: crc16.c:21