53 #define APR_SIPHASH_DSIZE 8
56 #define APR_SIPHASH_KSIZE 16
69 APR_DECLARE(apr_uint64_t) apr_siphash(const
void *src, apr_size_t len,
71 unsigned int c,
unsigned int d);
87 const
void *src, apr_size_t len,
88 const
unsigned char key[APR_SIPHASH_KSIZE],
89 unsigned int c,
unsigned int d);
99 APR_DECLARE(apr_uint64_t) apr_siphash24(const
void *src, apr_size_t len,
100 const
unsigned char key[APR_SIPHASH_KSIZE]);
113 APR_DECLARE(
void) apr_siphash24_auth(
unsigned char out[APR_SIPHASH_DSIZE],
114 const
void *src, apr_size_t len,
115 const
unsigned char key[APR_SIPHASH_KSIZE]);
125 APR_DECLARE(apr_uint64_t) apr_siphash48(const
void *src, apr_size_t len,
126 const
unsigned char key[APR_SIPHASH_KSIZE]);
139 APR_DECLARE(
void) apr_siphash48_auth(
unsigned char out[APR_SIPHASH_DSIZE],
140 const
void *src, apr_size_t len,
141 const
unsigned char key[APR_SIPHASH_KSIZE]);
APR_DECLARE(apr_uint64_t) apr_siphash(const void *src
Computes SipHash-c-d, producing a 64bit (APR_SIPHASH_DSIZE) hash from a message and a 128bit (APR_SIP...
#define APR_SIPHASH_DSIZE
Definition: apr_siphash.h:53
#define APR_SIPHASH_KSIZE
Definition: apr_siphash.h:56