Home
last modified time | relevance | path

Searched refs:siphash24_compress (Results 1 – 25 of 36) sorted by relevance

12

/systemd-251/src/test/
Dtest-siphash24.c23 siphash24_compress(in, len, &state); in test_alignment_one()
40 siphash24_compress(in, i, &state); in test_alignment_one()
41 siphash24_compress(&in[i], j - i, &state); in test_alignment_one()
42 siphash24_compress(&in[j], len - j, &state); in test_alignment_one()
82 siphash24_compress(one, i, &state1); in TEST()
85 siphash24_compress(two, i, &state2); in TEST()
95 siphash24_compress(one, i, &state1); in TEST()
96 siphash24_compress(one, j, &state1); in TEST()
98 siphash24_compress(one, i, &state2); in TEST()
100 siphash24_compress(two, j, &state2); in TEST()
Dtest-prioq.c57 siphash24_compress(&x->value, sizeof(x->value), state); in test_hash()
/systemd-251/src/basic/
Dhash-funcs.c9 siphash24_compress(p, strlen(p) + 1, state); in string_hash_func()
32 siphash24_compress("/", 1, state); in path_hash_func()
52 siphash24_compress(e, r, state); in path_hash_func()
66 siphash24_compress(&p, sizeof(p), state); in trivial_hash_func()
92 siphash24_compress(p, sizeof(uint64_t), state); in uint64_hash_func()
103 siphash24_compress(p, sizeof(dev_t), state); in devt_hash_func()
Dsiphash24.h23 void siphash24_compress(const void *in, size_t inlen, struct siphash *state);
24 #define siphash24_compress_byte(byte, state) siphash24_compress((const uint8_t[]) { (byte) }, 1, (s…
29 siphash24_compress(&i, sizeof i, state); in siphash24_compress_boolean()
33 siphash24_compress(&in, sizeof in, state); in siphash24_compress_usec_t()
40 siphash24_compress(in, inlen, state); in siphash24_compress_safe()
Dether-addr-util.c53 siphash24_compress(&p->length, sizeof(p->length), state); in hw_addr_hash_func()
54 siphash24_compress(p->bytes, p->length, state); in hw_addr_hash_func()
100 siphash24_compress(p, sizeof(struct ether_addr), state); in ether_addr_hash_func()
Dsiphash24.c73 void siphash24_compress(const void *_in, size_t inlen, struct siphash *state) { in siphash24_compress() function
199 siphash24_compress(in, inlen, &state); in siphash24()
Din-addr-util.c883 siphash24_compress(&a->family, sizeof(a->family), state); in in_addr_data_hash_func()
884 siphash24_compress(&a->address, FAMILY_ADDRESS_SIZE(a->family), state); in in_addr_data_hash_func()
906 siphash24_compress(addr, sizeof(*addr), state); in in6_addr_hash_func()
/systemd-251/src/resolve/
Dresolved-dns-rr.c296 siphash24_compress(&k->class, sizeof(k->class), state); in dns_resource_key_hash_func()
297 siphash24_compress(&k->type, sizeof(k->type), state); in dns_resource_key_hash_func()
1337 siphash24_compress(&rr->srv.priority, sizeof(rr->srv.priority), state); in dns_resource_record_hash_func()
1338 siphash24_compress(&rr->srv.weight, sizeof(rr->srv.weight), state); in dns_resource_record_hash_func()
1339 siphash24_compress(&rr->srv.port, sizeof(rr->srv.port), state); in dns_resource_record_hash_func()
1368 siphash24_compress(&rr->a.in_addr, sizeof(rr->a.in_addr), state); in dns_resource_record_hash_func()
1372 siphash24_compress(&rr->aaaa.in6_addr, sizeof(rr->aaaa.in6_addr), state); in dns_resource_record_hash_func()
1378 siphash24_compress(&rr->soa.serial, sizeof(rr->soa.serial), state); in dns_resource_record_hash_func()
1379 siphash24_compress(&rr->soa.refresh, sizeof(rr->soa.refresh), state); in dns_resource_record_hash_func()
1380 siphash24_compress(&rr->soa.retry, sizeof(rr->soa.retry), state); in dns_resource_record_hash_func()
[all …]
Dresolved-dns-stub.c29 siphash24_compress(&a->mode, sizeof(a->mode), state); in dns_stub_listener_extra_hash_func()
30 siphash24_compress(&a->family, sizeof(a->family), state); in dns_stub_listener_extra_hash_func()
31 siphash24_compress(&a->address, FAMILY_ADDRESS_SIZE(a->family), state); in dns_stub_listener_extra_hash_func()
32 siphash24_compress(&a->port, sizeof(a->port), state); in dns_stub_listener_extra_hash_func()
96 siphash24_compress(&p->protocol, sizeof(p->protocol), state); in stub_packet_hash_func()
97 siphash24_compress(&p->family, sizeof(p->family), state); in stub_packet_hash_func()
98 siphash24_compress(&p->sender, sizeof(p->sender), state); in stub_packet_hash_func()
99 siphash24_compress(&p->ipproto, sizeof(p->ipproto), state); in stub_packet_hash_func()
100 siphash24_compress(&p->sender_port, sizeof(p->sender_port), state); in stub_packet_hash_func()
101 siphash24_compress(DNS_PACKET_HEADER(p), sizeof(DnsPacketHeader), state); in stub_packet_hash_func()
Dresolved-dns-server.c749 siphash24_compress(&s->family, sizeof(s->family), state); in dns_server_hash_func()
750 siphash24_compress(&s->address, FAMILY_ADDRESS_SIZE(s->family), state); in dns_server_hash_func()
751 siphash24_compress(&s->port, sizeof(s->port), state); in dns_server_hash_func()
752 siphash24_compress(&s->ifindex, sizeof(s->ifindex), state); in dns_server_hash_func()
/systemd-251/src/network/
Dnetworkd-routing-policy-rule.c159 siphash24_compress(&rule->family, sizeof(rule->family), state); in routing_policy_rule_hash_func()
164 siphash24_compress(&rule->from, FAMILY_ADDRESS_SIZE(rule->family), state); in routing_policy_rule_hash_func()
165 siphash24_compress(&rule->from_prefixlen, sizeof(rule->from_prefixlen), state); in routing_policy_rule_hash_func()
167 siphash24_compress(&rule->to, FAMILY_ADDRESS_SIZE(rule->family), state); in routing_policy_rule_hash_func()
168 siphash24_compress(&rule->to_prefixlen, sizeof(rule->to_prefixlen), state); in routing_policy_rule_hash_func()
172 siphash24_compress(&rule->tos, sizeof(rule->tos), state); in routing_policy_rule_hash_func()
173 siphash24_compress(&rule->type, sizeof(rule->type), state); in routing_policy_rule_hash_func()
174 siphash24_compress(&rule->fwmark, sizeof(rule->fwmark), state); in routing_policy_rule_hash_func()
175 siphash24_compress(&rule->fwmask, sizeof(rule->fwmask), state); in routing_policy_rule_hash_func()
176 siphash24_compress(&rule->priority, sizeof(rule->priority), state); in routing_policy_rule_hash_func()
[all …]
Dnetworkd-address-generation.c113 siphash24_compress(prefix, 8, &state); in generate_stable_private_address_one()
117 siphash24_compress(&link->hw_addr.infiniband[INFINIBAND_ALEN - 8], 8, &state); in generate_stable_private_address_one()
119 siphash24_compress(link->hw_addr.bytes, link->hw_addr.length, &state); in generate_stable_private_address_one()
120 siphash24_compress(&dad_counter, sizeof(uint8_t), &state); in generate_stable_private_address_one()
268 siphash24_compress(&p->type, sizeof(p->type), state); in ipv6_token_hash_func()
269 siphash24_compress(&p->address, sizeof(p->address), state); in ipv6_token_hash_func()
Dnetworkd-queue.c53 siphash24_compress(&req->link->ifindex, sizeof(req->link->ifindex), state); in request_hash_func()
55 siphash24_compress(&req->type, sizeof(req->type), state); in request_hash_func()
57 siphash24_compress(&req->hash_func, sizeof(req->hash_func), state); in request_hash_func()
58 siphash24_compress(&req->compare_func, sizeof(req->compare_func), state); in request_hash_func()
Dnetworkd-route.c116 siphash24_compress(&route->family, sizeof(route->family), state); in route_hash_func()
121 siphash24_compress(&route->dst_prefixlen, sizeof(route->dst_prefixlen), state); in route_hash_func()
122 siphash24_compress(&route->dst, FAMILY_ADDRESS_SIZE(route->family), state); in route_hash_func()
124 siphash24_compress(&route->src_prefixlen, sizeof(route->src_prefixlen), state); in route_hash_func()
125 siphash24_compress(&route->src, FAMILY_ADDRESS_SIZE(route->family), state); in route_hash_func()
127 siphash24_compress(&route->gw_family, sizeof(route->gw_family), state); in route_hash_func()
129siphash24_compress(&route->gw, FAMILY_ADDRESS_SIZE(route->gw_family), state); in route_hash_func()
130 siphash24_compress(&route->gw_weight, sizeof(route->gw_weight), state); in route_hash_func()
133 siphash24_compress(&route->prefsrc, FAMILY_ADDRESS_SIZE(route->family), state); in route_hash_func()
135 siphash24_compress(&route->tos, sizeof(route->tos), state); in route_hash_func()
[all …]
Dnetworkd-address.c267 siphash24_compress(&a->family, sizeof(a->family), state); in address_kernel_hash_func()
271 siphash24_compress(&a->prefixlen, sizeof(a->prefixlen), state); in address_kernel_hash_func()
274 siphash24_compress(&prefix, sizeof(prefix), state); in address_kernel_hash_func()
278 siphash24_compress(&a->in_addr, FAMILY_ADDRESS_SIZE(a->family), state); in address_kernel_hash_func()
323 siphash24_compress(&a->family, sizeof(a->family), state); in address_hash_func()
329 siphash24_compress(&a->prefixlen, sizeof(a->prefixlen), state); in address_hash_func()
330 siphash24_compress(&a->in_addr, FAMILY_ADDRESS_SIZE(a->family), state); in address_hash_func()
331 siphash24_compress(&a->in_addr_peer, FAMILY_ADDRESS_SIZE(a->family), state); in address_hash_func()
339 siphash24_compress(&a->broadcast, sizeof(a->broadcast), state); in address_hash_func()
Dnetworkd-nexthop.c110 siphash24_compress(&nexthop->protocol, sizeof(nexthop->protocol), state); in nexthop_hash_func()
111 siphash24_compress(&nexthop->id, sizeof(nexthop->id), state); in nexthop_hash_func()
112 siphash24_compress(&nexthop->blackhole, sizeof(nexthop->blackhole), state); in nexthop_hash_func()
113 siphash24_compress(&nexthop->family, sizeof(nexthop->family), state); in nexthop_hash_func()
118 siphash24_compress(&nexthop->gw, FAMILY_ADDRESS_SIZE(nexthop->family), state); in nexthop_hash_func()
Dnetworkd-neighbor.c93 siphash24_compress(&neighbor->family, sizeof(neighbor->family), state); in neighbor_hash_func()
99siphash24_compress(&neighbor->in_addr, FAMILY_ADDRESS_SIZE(neighbor->family), state); in neighbor_hash_func()
/systemd-251/src/shared/
Din-addr-prefix-util.c62 siphash24_compress(&a->family, sizeof(a->family), state); in in_addr_prefix_hash_func()
63 siphash24_compress(&a->prefixlen, sizeof(a->prefixlen), state); in in_addr_prefix_hash_func()
64 siphash24_compress(&a->address, FAMILY_ADDRESS_SIZE(a->family), state); in in_addr_prefix_hash_func()
/systemd-251/src/core/
Dbpf-foreign.c48 siphash24_compress(&p->prog_id, sizeof(p->prog_id), h); in bpf_foreign_key_hash_func()
49 siphash24_compress(&p->attach_type, sizeof(p->attach_type), h); in bpf_foreign_key_hash_func()
Dtimer.c196 siphash24_compress(&machine_id, sizeof(sd_id128_t), &state); in timer_get_fixed_delay_hash()
198 siphash24_compress(&uid, sizeof(uid_t), &state); in timer_get_fixed_delay_hash()
/systemd-251/src/network/netdev/
Dvlan.c99 siphash24_compress(&x->from, sizeof(x->from), state); in vlan_qos_maps_hash_func()
100 siphash24_compress(&x->to, sizeof(x->to), state); in vlan_qos_maps_hash_func()
/systemd-251/src/libsystemd-network/
Dlldp-neighbor.c17 siphash24_compress(id->chassis_id, id->chassis_id_size, state); in lldp_neighbor_id_hash_func()
18 siphash24_compress(&id->chassis_id_size, sizeof(id->chassis_id_size), state); in lldp_neighbor_id_hash_func()
19 siphash24_compress(id->port_id, id->port_id_size, state); in lldp_neighbor_id_hash_func()
20 siphash24_compress(&id->port_id_size, sizeof(id->port_id_size), state); in lldp_neighbor_id_hash_func()
/systemd-251/src/libsystemd/sd-id128/
Did128-util.c166 siphash24_compress(p, sizeof(sd_id128_t), state); in id128_hash_func()
/systemd-251/src/network/tc/
Dtclass.c128 siphash24_compress(&tclass->classid, sizeof(tclass->classid), state); in tclass_hash_func()
129 siphash24_compress(&tclass->parent, sizeof(tclass->parent), state); in tclass_hash_func()
Dqdisc.c158 siphash24_compress(&qdisc->handle, sizeof(qdisc->handle), state); in qdisc_hash_func()
159 siphash24_compress(&qdisc->parent, sizeof(qdisc->parent), state); in qdisc_hash_func()

12