Searched defs:hash_key (Results 1 - 4 of 4) sorted by relevance

/systemd/src/libsystemd-network/
H A Dtest-dhcp-server.c213 uint8_t hash_key[HASH_KEY_SIZE] = { local
222 assert_se(client_id_hash_helper(&a, hash_key) == client_id_hash_helper(&b, hash_key));
227 assert_se(client_id_hash_helper(&a, hash_key) == client_id_hash_helper(&b, hash_key));
233 assert_se(client_id_hash_helper(&a, hash_key) == client_id_hash_helper(&b, hash_key));
/systemd/src/journal/
H A Djournald-rate-limit.c75 uint8_t hash_key[16]; member in struct:JournalRateLimit
90 random_bytes(r->hash_key, sizeof(r->hash_key));
161 siphash24_init(&state, r->hash_key);
229 siphash24_init(&state, r->hash_key);
/systemd/src/nspawn/
H A Dnspawn-network.c45 sd_id128_t hash_key,
75 result = htole64(siphash24(v, sz, hash_key.bytes));
42 generate_mac( const char *machine_name, struct ether_addr *mac, sd_id128_t hash_key, uint64_t idx) argument
/systemd/src/basic/
H A Dhashmap.c180 uint8_t hash_key[HASH_KEY_SIZE]; /* hash key; changes during resize */ member in struct:indirect_storage
310 static uint8_t *hash_key(HashmapBase *h) { function
311 return h->has_indirect ? h->indirect.hash_key
319 siphash24_init(&state, hash_key(h));
329 static void get_hash_key(uint8_t hash_key[HASH_KEY_SIZE], bool reuse_is_ok) { argument
345 memcpy(hash_key, current, sizeof(current));
1091 get_hash_key(h->indirect.hash_key, !h->has_indirect);

Completed in 19 milliseconds