Squash commits for public release

This commit is contained in:
2025-02-12 09:54:05 -05:00
commit 7118adc514
1108 changed files with 80873 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#ifndef _KERNEL_ALGO_HASH_H
#define _KERNEL_ALGO_HASH_H
#include <libkern/types.h>
#define hashint(hfunc, val) (hfunc((uint8_t*)&val, sizeof(val)))
uint32_t hash_crc32(uint8_t* data, size_t len);
uint32_t hashstr_crc32(char* data);
#endif // _KERNEL_ALGO_HASH_H