2025-04-11 13:51:48 +01:00
|
|
|
#ifndef _HASH_H_
|
|
|
|
|
#define _HASH_H_
|
|
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
2026-03-16 10:35:43 +00:00
|
|
|
struct fx_hash_ctx;
|
2025-04-11 13:51:48 +01:00
|
|
|
|
2026-03-16 10:35:43 +00:00
|
|
|
struct fx_hash_function_ops {
|
|
|
|
|
void (*hash_init)(struct fx_hash_ctx *);
|
|
|
|
|
void (*hash_update)(struct fx_hash_ctx *, const void *, size_t);
|
|
|
|
|
void (*hash_finish)(struct fx_hash_ctx *, void *, size_t);
|
2025-04-11 13:51:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|