Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/lib/
Dsiphash_kunit.c131 chk(hsiphash(in, i, &test_key_hsiphash), in siphash_test()
134 chk(hsiphash(in_unaligned + 1, i, &test_key_hsiphash), in siphash_test()
/linux-6.6.21/include/linux/
Dsiphash.h131 static inline u32 hsiphash(const void *data, size_t len, in hsiphash() function
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_mh.c101 return hsiphash(&v, sizeof(v), key); in ip_vs_mh_hashkey()