Home
last modified time | relevance | path

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

123

/systemd-251/src/basic/
Dsiphash24.h13 struct siphash { struct
22 void siphash24_init(struct siphash *state, const uint8_t k[static 16]); argument
23 void siphash24_compress(const void *in, size_t inlen, struct siphash *state);
26 static inline void siphash24_compress_boolean(bool in, struct siphash *state) { in siphash24_compress_boolean()
32 static inline void siphash24_compress_usec_t(usec_t in, struct siphash *state) { in siphash24_compress_usec_t()
36 static inline void siphash24_compress_safe(const void *in, size_t inlen, struct siphash *state) { in siphash24_compress_safe()
43 static inline void siphash24_compress_string(const char *in, struct siphash *state) { in siphash24_compress_string()
47 uint64_t siphash24_finalize(struct siphash *state);
Dhash-funcs.h8 typedef void (*hash_func_t)(const void *p, struct siphash *state);
19 …_unused_ static void (* UNIQ_T(static_hash_wrapper, uq))(const type *, struct siphash *) = hash_fu…
76 void string_hash_func(const char *p, struct siphash *state);
82 void path_hash_func(const char *p, struct siphash *state);
89 void trivial_hash_func(const void *p, struct siphash *state);
97 void uint64_hash_func(const uint64_t *p, struct siphash *state);
104 void devt_hash_func(const dev_t *p, struct siphash *state) _pure_;
Dhash-funcs.c8 void string_hash_func(const char *p, struct siphash *state) { in string_hash_func()
19 void path_hash_func(const char *q, struct siphash *state) { in path_hash_func()
65 void trivial_hash_func(const void *p, struct siphash *state) { in trivial_hash_func()
91 void uint64_hash_func(const uint64_t *p, struct siphash *state) { in uint64_hash_func()
102 void devt_hash_func(const dev_t *p, struct siphash *state) { in devt_hash_func()
Dsiphash24.c34 static void sipround(struct siphash *state) { in sipround()
53 void siphash24_init(struct siphash *state, const uint8_t k[static 16]) { in siphash24_init()
62 *state = (struct siphash) { in siphash24_init()
73 void siphash24_compress(const void *_in, size_t inlen, struct siphash *state) { in siphash24_compress()
156 uint64_t siphash24_finalize(struct siphash *state) { in siphash24_finalize()
193 struct siphash state; in siphash24()
Dether-addr-util.c49 void hw_addr_hash_func(const struct hw_addr_data *p, struct siphash *state) { in hw_addr_hash_func()
99 static void ether_addr_hash_func(const struct ether_addr *p, struct siphash *state) { in ether_addr_hash_func()
Dether-addr-util.h55 void hw_addr_hash_func(const struct hw_addr_data *p, struct siphash *state);
Din-addr-util.h129 void in6_addr_hash_func(const struct in6_addr *addr, struct siphash *state);
Din-addr-util.c879 static void in_addr_data_hash_func(const struct in_addr_data *a, struct siphash *state) { in in_addr_data_hash_func()
902 void in6_addr_hash_func(const struct in6_addr *addr, struct siphash *state) { in in6_addr_hash_func()
/systemd-251/src/test/
Dtest-siphash24.c10 struct siphash state = {}; in test_alignment_one()
74 struct siphash state1 = {}, state2 = {}; in TEST()
Dtest-prioq.c56 static void test_hash(const struct test *x, struct siphash *state) { in test_hash()
/systemd-251/src/libsystemd/sd-id128/
Did128-util.h30 void id128_hash_func(const sd_id128_t *p, struct siphash *state);
Did128-util.c165 void id128_hash_func(const sd_id128_t *p, struct siphash *state) { in id128_hash_func()
/systemd-251/src/shared/
Dnetif-sriov.h36 void sr_iov_hash_func(const SRIOV *sr_iov, struct siphash *state);
Ddns-domain.h67 void dns_name_hash_func(const char *s, struct siphash *state);
Din-addr-prefix-util.c58 static void in_addr_prefix_hash_func(const struct in_addr_prefix *a, struct siphash *state) { in in_addr_prefix_hash_func()
/systemd-251/src/libsystemd-network/
Ddhcp-server-internal.h115 void client_id_hash_func(const DHCPClientId *p, struct siphash *state);
Dtest-dhcp-server.c219 struct siphash state; in client_id_hash_helper()
/systemd-251/src/network/
Dnetworkd-address-generation.c100 struct siphash state; in generate_stable_private_address_one()
267 static void ipv6_token_hash_func(const IPv6Token *p, struct siphash *state) { in ipv6_token_hash_func()
Dnetworkd-queue.h121 void (*_h)(const typeof(*userdata)*, struct siphash*) = (hash_func); \
Dnetworkd-queue.c47 static void request_hash_func(const Request *req, struct siphash *state) { in request_hash_func()
Dnetworkd-ndisc.c678 static void ndisc_rdnss_hash_func(const NDiscRDNSS *x, struct siphash *state) { in ndisc_rdnss_hash_func()
772 static void ndisc_dnssl_hash_func(const NDiscDNSSL *x, struct siphash *state) { in ndisc_dnssl_hash_func()
/systemd-251/src/core/
Dbpf-foreign.c47 static void bpf_foreign_key_hash_func(const BPFForeignKey *p, struct siphash *h) { in bpf_foreign_key_hash_func()
/systemd-251/src/resolve/
Dtest-dns-packet.c36 struct siphash state; in hash()
Dresolved-dns-rr.h367 void dns_resource_record_hash_func(const DnsResourceRecord *i, struct siphash *state);
/systemd-251/src/network/netdev/
Dvlan.c98 static void vlan_qos_maps_hash_func(const struct ifla_vlan_qos_mapping *x, struct siphash *state) { in vlan_qos_maps_hash_func()

123