Change all hash functions to have a common hash function.

This commit is contained in:
Christoffer Lerno
2025-03-03 20:07:02 +01:00
parent 261bfb97c6
commit 0a905d8458
10 changed files with 11 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ fn void seeder(char[] input, char[] out_buffer)
macro uint hash(value) @local
{
return fnv32a::encode(&&bitcast(value, char[$sizeof(value)]));
return fnv32a::hash(&&bitcast(value, char[$sizeof(value)]));
}
fn char[8 * 4] entropy() @if(!env::WASM_NOLIBC)