Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/core/
A Dsecure_seq.c71 return siphash(&combined, offsetofend(typeof(combined), daddr), in secure_tcpv6_ts_off()
93 hash = siphash(&combined, offsetofend(typeof(combined), dport), in secure_tcpv6_seq()
114 return siphash(&combined, offsetofend(typeof(combined), dport), in secure_ipv6_port_ephemeral()
192 seq = siphash(&combined, offsetofend(typeof(combined), dport), in secure_dccpv6_sequence_number()
A Dflow_dissector.c1681 hash = siphash(flow_keys_hash_start(keys), in __flow_hash_from_keys()
/linux-6.3-rc2/Documentation/security/
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
A Dindex.rst16 siphash
/linux-6.3-rc2/lib/
A Dsiphash_kunit.c125 chk(siphash(in, i, &test_key_siphash), in siphash_test()
128 chk(siphash(in_unaligned + 1, i, &test_key_siphash), in siphash_test()
A DMakefile35 earlycpio.o seq_buf.o siphash.o dec_and_lock.o \
A DKconfig.debug2640 tristate "Perform selftest on siphash functions" if !KUNIT_ALL_TESTS
2644 Enable this option to test the kernel's siphash (<linux/siphash.h>) hash
/linux-6.3-rc2/drivers/net/wireguard/
A Dpeerlookup.c17 const u64 hash = siphash(pubkey, NOISE_PUBLIC_KEY_LEN, &table->key); in pubkey_bucket()
/linux-6.3-rc2/net/ipv4/
A Dtcp_fastopen.c127 foc->val[0] = cpu_to_le64(siphash(&iph->saddr, in __tcp_fastopen_cookie_gen_cipher()
138 foc->val[0] = cpu_to_le64(siphash(&ip6h->saddr, in __tcp_fastopen_cookie_gen_cipher()
/linux-6.3-rc2/include/linux/
A Dsiphash.h81 static inline u64 siphash(const void *data, size_t len, in siphash() function
/linux-6.3-rc2/net/ipv6/
A Dsyncookies.c59 return siphash(&combined, offsetofend(typeof(combined), dport), in cookie_hash()
A Droute.c1503 val = siphash(&combined, sizeof(combined), &rt6_exception_key); in rt6_exception_hash()
/linux-6.3-rc2/fs/crypto/
A Dfname.c575 return siphash(name->name, name->len, &ci->ci_dirhash_key); in fscrypt_fname_siphash()
/linux-6.3-rc2/net/netfilter/
A Dnf_conntrack_expect.c103 hash = siphash(&combined, sizeof(combined), &nf_ct_expect_hashrnd); in nf_ct_expect_dst_hash()
A Dnf_nat_core.c178 hash = siphash(&combined, sizeof(combined), &nf_nat_hash_rnd); in hash_by_src()
A Dnf_conntrack_core.c503 d = (unsigned long)siphash(&ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple, in nf_ct_get_id()
A Dnf_conntrack_netlink.c2991 d = (unsigned long)siphash(&exp->tuple, sizeof(exp->tuple), &exp_id_seed); in nf_expect_get_id()
/linux-6.3-rc2/Documentation/admin-guide/
A Dkernel-parameters.txt915 of siphash to hash pointers. Use this option if you are
/linux-6.3-rc2/
A DMAINTAINERS19135 F: include/linux/siphash.h
19136 F: lib/siphash.c

Completed in 65 milliseconds