tor
master
tor
src
ext
siphash.h
1
#ifndef SIPHASH_H
2
#define SIPHASH_H
3
4
struct
sipkey
{
5
uint64_t k0;
6
uint64_t k1;
7
};
8
uint64_t siphash24(
const
void
*src,
unsigned
long
src_sz,
const
struct
sipkey
*key);
9
10
void
siphash_set_global_key(
const
struct
sipkey
*key);
11
uint64_t siphash24g(
const
void
*src,
unsigned
long
src_sz);
12
void
siphash_unset_global_key(
void
);
13
14
#endif
sipkey
Definition:
siphash.h:4
Generated by
1.8.13