Definition in file fletcher32.h.
#include <stdlib.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | fletcher32_ctx_t |
Fletcher's 32 bit checksum context struct. More... | |
Functions | |
uint32_t | fletcher32 (const uint16_t *buf, size_t words) |
Fletcher's 32 bit checksum. | |
void | fletcher32_init (fletcher32_ctx_t *ctx) |
Initialize a fletcher32 context. | |
void | fletcher32_update (fletcher32_ctx_t *ctx, const void *data, size_t words) |
Incrementally update the fletcher32 context with new data. | |
uint32_t | fletcher32_finish (fletcher32_ctx_t *ctx) |
Finalize the checksum operation and return the checksum. | |