2019-09-25 13:37:26 +00:00
|
|
|
#ifndef CRYPTO_HASH_H
|
|
|
|
#define CRYPTO_HASH_H
|
|
|
|
|
|
|
|
#include "../kerncompat.h"
|
|
|
|
|
|
|
|
#define CRYPTO_HASH_SIZE_MAX 32
|
|
|
|
|
2019-06-10 12:56:11 +00:00
|
|
|
int hash_crc32c(const u8 *buf, size_t length, u8 *out);
|
2019-09-25 13:37:26 +00:00
|
|
|
int hash_xxhash(const u8 *buf, size_t length, u8 *out);
|
|
|
|
|
|
|
|
#endif
|