1#ifndef SHA1_LOOKUP_H
2#define SHA1_LOOKUP_H
34
typedef const unsigned char *sha1_access_fn(size_t index, void *table);
56
extern int sha1_pos(const unsigned char *sha1,
7void *table,
8size_t nr,
9sha1_access_fn fn);
1011
extern int sha1_entry_pos(const void *table,
12size_t elem_size,
13size_t key_offset,
14unsigned lo, unsigned hi, unsigned nr,
15const unsigned char *key);
16#endif