update_crc7
crc = update_crc7(CRC7_INITIAL, &txbuf[1], 5);
computed_crc7 = update_crc7(CRC7_INITIAL, data, len - 1);