Searched refs:SIPHASH_CTX (Results 1 – 10 of 10) sorted by relevance
/freebsd/sys/crypto/siphash/ |
H A D | siphash.h | 63 } 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 D | siphash.c | 52 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 D | siphash_test.c | 112 SIPHASH_CTX ctx; in SipHash24_TestVectors()
|
/freebsd/sys/netinet/ |
H A D | tcp_fastopen.c | 536 SIPHASH_CTX ctx; in tcp_fastopen_make_cookie() 561 SIPHASH_CTX ctx; in tcp_fastopen_make_psk_cookie()
|
H A D | tcp_syncache.c | 2170 SIPHASH_CTX ctx; in syncookie_mac()
|
H A D | tcp_subr.c | 3140 SIPHASH_CTX ctx; in tcp_keyed_hash()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_syncookies.c | 428 SIPHASH_CTX ctx; in pf_syncookie_mac()
|
H A D | pf_lb.c | 91 SIPHASH_CTX ctx; in pf_hash()
|
/freebsd/sys/dev/wg/ |
H A D | wg_cookie.c | 500 SIPHASH_CTX ctx; in siphash13()
|
H A D | wg_noise.c | 1404 SIPHASH_CTX ctx; in siphash24()
|