Home
last modified time | relevance | path

Searched refs:random_bytes (Results 1 – 18 of 18) sorted by relevance

/systemd-251/src/test/
Dtest-compress-benchmark.c60 random_bytes(buf, step); in make_buf()
62 random_bytes(buf + 2*step, step); in make_buf()
64 random_bytes(buf + 4*step, step); in make_buf()
66 random_bytes(buf + 6*step, step); in make_buf()
68 random_bytes(buf + 8*step, step); in make_buf()
Dtest-data-fd-util.c38 random_bytes(wbuffer, sizeof(wbuffer)); in test_acquire_data_fd_one()
Dtest-compress.c293 random_bytes(data + 7, sizeof(data) - 7); in main()
Dtest-hexdecoct.c292 random_bytes(data, n); in TEST()
Dtest-fileio.c943 random_bytes(buf, sizeof(buf)); in TEST()
Dtest-fs-util.c805 random_bytes(buffer, l); in TEST()
/systemd-251/src/basic/
Drandom-util.h14 void random_bytes(void *p, size_t n); /* returns genuine randomness if ch…
20 random_bytes(&u, sizeof(u)); in random_u64()
26 random_bytes(&u, sizeof(u)); in random_u32()
Drandom-util.c174 void random_bytes(void *p, size_t n) { in random_bytes() function
Din-addr-util.c340 random_bytes(&n, sizeof(n)); in in_addr_random_prefix()
358 random_bytes(&n, sizeof(n)); in in_addr_random_prefix()
Dfs-util.c765 random_bytes(buffer, sizeof(buffer)); in unlinkat_deallocate()
Dhashmap.c367 random_bytes(current, sizeof(current)); in get_hash_key()
768 random_bytes(shared_hash_key, sizeof(shared_hash_key)); in shared_hash_key_initialize()
/systemd-251/src/journal/
Djournald-rate-limit.c69 random_bytes(r->hash_key, sizeof(r->hash_key)); in journal_ratelimit_new()
/systemd-251/src/resolve/
Dresolved-dns-scope.c1153 random_bytes(&DNS_PACKET_HEADER(p)->id, sizeof(uint16_t)); in dns_scope_make_conflict_packet()
1236 random_bytes(&jitter, sizeof(jitter)); in dns_scope_notify_conflict()
Dresolved-manager.c1188 random_bytes(&a, sizeof(a)); in manager_next_random_name()
Dresolved-dns-transaction.c193 random_bytes(&new_id, sizeof(new_id)); in pick_new_id()
/systemd-251/src/core/
Ddynamic-user.c251 random_bytes(&candidate, sizeof(candidate)); in pick_uid()
/systemd-251/src/home/
Dhomed-manager.c606 random_bytes(&candidate, sizeof(candidate)); in manager_acquire_uid()
/systemd-251/src/nspawn/
Dnspawn.c4104 random_bytes(&candidate, sizeof(candidate)); in uid_shift_pick()