8 #ifndef SIMLE_HASHING_H_
9 #define SIMLE_HASHING_H_
11 #include "hashing_util.h"
46 uint8_t* simple_hashing(uint8_t* elements, uint32_t neles, uint32_t bitlen, uint32_t* outbitlen, uint32_t* nelesinbin, uint32_t nbins,
47 uint32_t* maxbinsize, uint32_t ntasks, uint32_t nhashfuns,
prf_state_ctx* prf_state);
49 void *gen_entries(
void *ctx);
50 void init_hash_table(
sht_ctx* table, uint32_t nelements,
hs_t* hs);
51 void increase_max_bin_size(
sht_ctx* table, uint32_t valbytelen);
52 void free_hash_table(
sht_ctx* table);
53 inline void insert_element(
sht_ctx* table, uint8_t* element, uint32_t* address, uint8_t* tmpbuf,
hs_t* hs);
54 inline uint32_t get_max_bin_size(uint32_t nbins, uint32_t neles);
Definition: simple_hashing.h:33
Definition: simple_hashing.h:13
Definition: hashing_util.h:23
Definition: simple_hashing.h:20