MCPcopy Create free account
hub / github.com/F-Stack/f-stack / SipHashX

Function SipHashX

freebsd/crypto/siphash/siphash.c:198–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198uint64_t
199SipHashX(SIPHASH_CTX *ctx, int rc, int rf,
200 const uint8_t key[static SIPHASH_KEY_LENGTH], const void *src, size_t len)
201{
202
203 SipHash_InitX(ctx, rc, rf);
204 SipHash_SetKey(ctx, key);
205 SipHash_Update(ctx, src, len);
206
207 return (SipHash_End(ctx));
208}
209
210#define SIP_ROTL(x, b) (uint64_t)(((x) << (b)) | ( (x) >> (64 - (b))))
211

Callers

nothing calls this directly

Calls 4

SipHash_InitXFunction · 0.85
SipHash_SetKeyFunction · 0.85
SipHash_UpdateFunction · 0.85
SipHash_EndFunction · 0.85

Tested by

no test coverage detected