Home
last modified time | relevance | path

Searched refs:SIPHASH_CTX (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/crypto/siphash/
H A Dsiphash.h63 } SIPHASH_CTX; typedef
68 void SipHash_InitX(SIPHASH_CTX *, int, int);
69 void SipHash_SetKey(SIPHASH_CTX *,
71 void SipHash_Update(SIPHASH_CTX *, const void *, size_t);
72 void SipHash_Final(uint8_t[__min_size(SIPHASH_DIGEST_LENGTH)], SIPHASH_CTX *);
73 uint64_t SipHash_End(SIPHASH_CTX *);
77 uint64_t SipHashX(SIPHASH_CTX *, int, int,
H A Dsiphash.c52 static void SipRounds(SIPHASH_CTX *ctx, int final);
55 SipHash_InitX(SIPHASH_CTX *ctx, int rc, int rf) in SipHash_InitX()
71 SipHash_SetKey(SIPHASH_CTX *ctx, const uint8_t key[static SIPHASH_KEY_LENGTH]) in SipHash_SetKey()
91 SipBuf(SIPHASH_CTX *ctx, const uint8_t **src, size_t len, int final) in SipBuf()
122 SipHash_Update(SIPHASH_CTX *ctx, const void *src, size_t len) in SipHash_Update()
172 SipHash_Final(uint8_t dst[static SIPHASH_DIGEST_LENGTH], SIPHASH_CTX *ctx) in SipHash_Final()
184 SipHash_End(SIPHASH_CTX *ctx) in SipHash_End()
201 SipHashX(SIPHASH_CTX *ctx, int rc, int rf, in SipHashX()
215 SipRounds(SIPHASH_CTX *ctx, int final) in SipRounds()
H A Dsiphash_test.c112 SIPHASH_CTX ctx; in SipHash24_TestVectors()
/freebsd/sys/netinet/
H A Dtcp_fastopen.c536 SIPHASH_CTX ctx; in tcp_fastopen_make_cookie()
561 SIPHASH_CTX ctx; in tcp_fastopen_make_psk_cookie()
H A Dtcp_syncache.c2170 SIPHASH_CTX ctx; in syncookie_mac()
H A Dtcp_subr.c3140 SIPHASH_CTX ctx; in tcp_keyed_hash()
/freebsd/sys/netpfil/pf/
H A Dpf_syncookies.c428 SIPHASH_CTX ctx; in pf_syncookie_mac()
H A Dpf_lb.c91 SIPHASH_CTX ctx; in pf_hash()
/freebsd/sys/dev/wg/
H A Dwg_cookie.c500 SIPHASH_CTX ctx; in siphash13()
H A Dwg_noise.c1404 SIPHASH_CTX ctx; in siphash24()