Function achks32
Defined in File checksum.h
Function Documentation
-
uint32_t achks32(const uint32_t *buf, size_t n_bytes, uint32_t seed)
Compute an 32-bit checksum (add-ignore-carry)
Both buf and n_bytes must be 16-bit aligned, or no action is performed
- Parameters:
buf – Buffer to compute over
n_bytes – # bytes in buffer
seed – Starting value for checksum
- Returns:
computed 32-bit checksum