21#ifndef CHECKSUM_FLETCHER32_H
22#define CHECKSUM_FLETCHER32_H
uint32_t fletcher32_finish(fletcher32_ctx_t *ctx)
Finalize the checksum operation and return the checksum.
void fletcher32_init(fletcher32_ctx_t *ctx)
Initialize a fletcher32 context.
uint32_t fletcher32(const uint16_t *buf, size_t words)
Fletcher's 32 bit checksum.
void fletcher32_update(fletcher32_ctx_t *ctx, const void *data, size_t words)
Incrementally update the fletcher32 context with new data.
Fletcher's 32 bit checksum context struct.
uint32_t sum2
Second sum of the checksum.
uint32_t sum1
First sum of the checksum.