Home
last modified time | relevance | path

Searched refs:siphash (Results 1 – 15 of 15) sorted by relevance

/linux/Documentation/security/
H A Dsiphash.rst35 u64 siphash(const void *data, size_t len, const siphash_key_t *key);
48 If you pass the generic siphash function something of a constant length, it
66 …return &table->hashtable[siphash(input, sizeof(*input), &table->key) & (HASH_SIZE(table->hashtable…
85 want to pass a pre-filled struct to siphash. When doing this, it's important
101 u64 h = siphash(&combined, offsetofend(typeof(combined), dport), &secret);
107 https://131002.net/siphash/siphash.pdf
137 same as the siphash ones, or that they are secure; the hsiphash functions still
H A Dindex.rst17 siphash
/linux/net/core/
H A Dsecure_seq.c69 st.hash64 = siphash(&combined, offsetofend(typeof(combined), dport), in secure_tcpv6_seq_and_ts_off()
95 return siphash(&combined, offsetofend(typeof(combined), dport), in secure_ipv6_port_ephemeral()
H A Dflow_dissector.c1803 hash = siphash(flow_keys_hash_start(keys), in __flow_hash_from_keys()
/linux/Documentation/translations/zh_CN/security/
H A Dindex.rst25 siphash
/linux/drivers/net/wireguard/
H A Dpeerlookup.c17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket()
/linux/net/ipv4/
H A Dtcp_fastopen.c215 foc->val[0] = cpu_to_le64(siphash(&iph->saddr, in __tcp_fastopen_cookie_gen_cipher()
226 foc->val[0] = cpu_to_le64(siphash(&ip6h->saddr, in __tcp_fastopen_cookie_gen_cipher()
/linux/include/linux/
H A Dsiphash.h81 static inline u64 siphash(const void *data, size_t len, in siphash() function
/linux/net/ipv6/
H A Dsyncookies.c60 return siphash(&combined, offsetofend(typeof(combined), dport), in cookie_hash()
H A Droute.c1562 val = siphash(&combined, sizeof(combined), &rt6_exception_key); in rt6_exception_hash()
/linux/net/netfilter/
H A Dnf_conntrack_expect.c20 #include <linux/siphash.h>
104 hash = siphash(&combined, sizeof(combined), &nf_ct_expect_hashrnd); in nf_ct_expect_dst_hash()
H A Dnf_conntrack_netlink.c30 #include <linux/siphash.h>
2996 d = (unsigned long)siphash(&exp->tuple, sizeof(exp->tuple), &exp_id_seed); in ctnetlink_exp_dump_expect()
/linux/lib/
H A DKconfig.debug3093 tristate "Perform selftest on siphash functions" if !KUNIT_ALL_TESTS
3097 Enable this option to test the kernel's siphash (<linux/siphash.h>) hash
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1175 of siphash to hash pointers. Use this option if you are
/linux/
H A DMAINTAINERS24544 F: include/linux/siphash.h
24545 F: lib/siphash.c