btrfs-progs/crypto/hash.h

12 lines
226 B
C
Raw Normal View History

#ifndef CRYPTO_HASH_H
#define CRYPTO_HASH_H
#include "../kerncompat.h"
#define CRYPTO_HASH_SIZE_MAX 32
int hash_crc32c(const u8 *buf, size_t length, u8 *out);
int hash_xxhash(const u8 *buf, size_t length, u8 *out);
#endif