Function xchks8
Defined in File checksum.h
Function Documentation
-
uint8_t xchks8(const uint8_t *buf, size_t n_bytes, uint8_t seed)
Compute an 8-bit checksum (XOR, rotate)
- Parameters:
buf – Buffer to compute over
n_bytes – # bytes in buffer
seed – Starting value for checksum
- Returns:
Computed 8-bit checksum