Home
last modified time | relevance | path

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

/Linux-v6.1/Documentation/security/
Dsiphash.rst124 HalfSipHash support is provided through the "hsiphash" family of functions.
127 Do not ever use the hsiphash functions except for as a hashtable key
133 On 64-bit kernels, the hsiphash functions actually implement SipHash-1-3, a
136 Note, this does *not* mean that in 64-bit kernels the hsiphash functions are the
137 same as the siphash ones, or that they are secure; the hsiphash functions still
141 Generating a hsiphash key
152 Using the hsiphash functions
158 u32 hsiphash(const void *data, size_t len, const hsiphash_key_t *key);
167 If you pass the generic hsiphash function something of a constant length, it
188 …return &table->hashtable[hsiphash(input, sizeof(*input), &table->key) & (HASH_SIZE(table->hashtabl…
[all …]
/Linux-v6.1/lib/
Dtest_siphash.c132 if (hsiphash(in, i, &test_key_hsiphash) != in siphash_test_init()
137 if (hsiphash(in_unaligned + 1, i, &test_key_hsiphash) != in siphash_test_init()
/Linux-v6.1/include/linux/
Dsiphash.h131 static inline u32 hsiphash(const void *data, size_t len, in hsiphash() function
/Linux-v6.1/net/netfilter/ipvs/
Dip_vs_mh.c101 return hsiphash(&v, sizeof(v), key); in ip_vs_mh_hashkey()