Home
last modified time | relevance | path

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

/xnu-12377.1.9/bsd/net/
H A Dsiphash.h66 } SIPHASH_CTX; typedef
71 void SipHash_InitX(SIPHASH_CTX *, uint8_t, uint8_t);
72 void SipHash_SetKey(SIPHASH_CTX *,
74 void SipHash_Update(SIPHASH_CTX *ctx, const void *src __sized_by(len0), size_t len0);
75 void SipHash_Final(uint8_t[SIPHASH_DIGEST_LENGTH], SIPHASH_CTX *);
76 uint64_t SipHash_End(SIPHASH_CTX *);
80 uint64_t SipHashX(SIPHASH_CTX *ctx, uint8_t rc, uint8_t rf,
H A Dsiphash.c52 static void SipRounds(SIPHASH_CTX *ctx, int final);
55 SipHash_InitX(SIPHASH_CTX *ctx, uint8_t rc, uint8_t rf) in SipHash_InitX()
70 SipHash_SetKey(SIPHASH_CTX *ctx, const uint8_t key[SIPHASH_KEY_LENGTH]) in SipHash_SetKey()
89 SipBuf(SIPHASH_CTX *ctx, const uint8_t * __sized_by_or_null(len)src, size_t len, size_t *delta, int… in SipBuf()
127 SipHash_Update(SIPHASH_CTX *ctx, const void *src __sized_by(len0), size_t len0) in SipHash_Update()
186 SipHash_Final(uint8_t dst[SIPHASH_DIGEST_LENGTH], SIPHASH_CTX *ctx) in SipHash_Final()
197 SipHash_End(SIPHASH_CTX *ctx) in SipHash_End()
214 SipHashX(SIPHASH_CTX *ctx, uint8_t rc, uint8_t rf, in SipHashX()
228 SipRounds(SIPHASH_CTX *ctx, int final) in SipRounds()
/xnu-12377.1.9/bsd/netinet/
H A Dtcp_syncookie.c504 SIPHASH_CTX ctx; in syncookie_siphash()
/xnu-12377.1.9/bsd/kern/
H A Dposix_sem.c239 SIPHASH_CTX ctx; in psem_cache_hash()