uint16_t crc16(FAR const uint8_t *src, size_t len)
Return a 16-bit CRC of the contents of the 'src' buffer, length 'len'.
uint16_t crc16part(FAR const uint8_t *src, size_t len, uint16_t crc16val)
Continue CRC calculation on a part of the buffer.