Home
last modified time | relevance | path

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

/f-stack/freebsd/crypto/siphash/
H A Dsiphash.h65 } SIPHASH_CTX; typedef
70 void SipHash_InitX(SIPHASH_CTX *, int, int);
71 void SipHash_SetKey(SIPHASH_CTX *,
73 void SipHash_Update(SIPHASH_CTX *, const void *, size_t);
74 void SipHash_Final(uint8_t[__min_size(SIPHASH_DIGEST_LENGTH)], SIPHASH_CTX *);
75 uint64_t SipHash_End(SIPHASH_CTX *);
79 uint64_t SipHashX(SIPHASH_CTX *, int, int,
H A Dsiphash.c55 static void SipRounds(SIPHASH_CTX *ctx, int final);
58 SipHash_InitX(SIPHASH_CTX *ctx, int rc, int rf) in SipHash_InitX()
74 SipHash_SetKey(SIPHASH_CTX *ctx, const uint8_t key[static SIPHASH_KEY_LENGTH]) in SipHash_SetKey()
94 SipBuf(SIPHASH_CTX *ctx, const uint8_t **src, size_t len, int final) in SipBuf()
120 SipHash_Update(SIPHASH_CTX *ctx, const void *src, size_t len) in SipHash_Update()
170 SipHash_Final(uint8_t dst[static SIPHASH_DIGEST_LENGTH], SIPHASH_CTX *ctx) in SipHash_Final()
182 SipHash_End(SIPHASH_CTX *ctx) in SipHash_End()
199 SipHashX(SIPHASH_CTX *ctx, int rc, int rf, in SipHashX()
213 SipRounds(SIPHASH_CTX *ctx, int final) in SipRounds()
H A Dsiphash_test.c114 SIPHASH_CTX ctx; in SipHash24_TestVectors()
/f-stack/freebsd/netinet/
H A Dtcp_fastopen.c539 SIPHASH_CTX ctx; in tcp_fastopen_make_cookie()
564 SIPHASH_CTX ctx; in tcp_fastopen_make_psk_cookie()
H A Dtcp_syncache.c2208 SIPHASH_CTX ctx; in syncookie_mac()
H A Dtcp_subr.c2717 SIPHASH_CTX ctx; in tcp_keyed_hash()