diff options
| author | 3gg <3gg@shellblade.net> | 2025-11-01 14:21:37 -0700 | 
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-11-01 14:21:37 -0700 | 
| commit | a10103ed9735b083200dfb78233fce325a9329dc (patch) | |
| tree | 27ebd7251b541f098314cd17417feb19a9d3f0ff /hash/include | |
| parent | e5eb3845eff1ea080ffdc08102f7d1a6dee1179f (diff) | |
Diffstat (limited to 'hash/include')
| -rw-r--r-- | hash/include/fnv1a.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/hash/include/fnv1a.h b/hash/include/fnv1a.h new file mode 100644 index 0000000..0d2e7cf --- /dev/null +++ b/hash/include/fnv1a.h  | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <stddef.h> | ||
| 4 | #include <stdint.h> | ||
| 5 | |||
| 6 | uint32_t fnv1a32(const void* buffer, size_t size_bytes); | ||
| 7 | |||
| 8 | uint32_t fnv1a32_begin(); | ||
| 9 | uint32_t fnv1a32_update(uint32_t hash, const void* buffer, size_t size_bytes); | ||
