We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crc_t crc_update(crc_t crc, const void *data, size_t data_len) { const unsigned char *d = (const unsigned char *)data; unsigned int tbl_idx;
while (data_len--) { tbl_idx = crc ^ *d; crc = crc_table[tbl_idx] & 0xff; d++; } return crc & 0xff; ==> crc ^ 0xff
}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
crc_t crc_update(crc_t crc, const void *data, size_t data_len)
{
const unsigned char *d = (const unsigned char *)data;
unsigned int tbl_idx;
}
The text was updated successfully, but these errors were encountered: