xmodem_crc16
crc = xmodem_crc16(buf + 3, XMODEM_BLOCK);
uint16_t xmodem_crc16(const u_char *buf, size_t len);