Searched refs:random_bytes (Results 1 – 18 of 18) sorted by relevance
/systemd-251/src/test/ |
D | test-compress-benchmark.c | 60 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()
|
D | test-data-fd-util.c | 38 random_bytes(wbuffer, sizeof(wbuffer)); in test_acquire_data_fd_one()
|
D | test-compress.c | 293 random_bytes(data + 7, sizeof(data) - 7); in main()
|
D | test-hexdecoct.c | 292 random_bytes(data, n); in TEST()
|
D | test-fileio.c | 943 random_bytes(buf, sizeof(buf)); in TEST()
|
D | test-fs-util.c | 805 random_bytes(buffer, l); in TEST()
|
/systemd-251/src/basic/ |
D | random-util.h | 14 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()
|
D | random-util.c | 174 void random_bytes(void *p, size_t n) { in random_bytes() function
|
D | in-addr-util.c | 340 random_bytes(&n, sizeof(n)); in in_addr_random_prefix() 358 random_bytes(&n, sizeof(n)); in in_addr_random_prefix()
|
D | fs-util.c | 765 random_bytes(buffer, sizeof(buffer)); in unlinkat_deallocate()
|
D | hashmap.c | 367 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/ |
D | journald-rate-limit.c | 69 random_bytes(r->hash_key, sizeof(r->hash_key)); in journal_ratelimit_new()
|
/systemd-251/src/resolve/ |
D | resolved-dns-scope.c | 1153 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()
|
D | resolved-manager.c | 1188 random_bytes(&a, sizeof(a)); in manager_next_random_name()
|
D | resolved-dns-transaction.c | 193 random_bytes(&new_id, sizeof(new_id)); in pick_new_id()
|
/systemd-251/src/core/ |
D | dynamic-user.c | 251 random_bytes(&candidate, sizeof(candidate)); in pick_uid()
|
/systemd-251/src/home/ |
D | homed-manager.c | 606 random_bytes(&candidate, sizeof(candidate)); in manager_acquire_uid()
|
/systemd-251/src/nspawn/ |
D | nspawn.c | 4104 random_bytes(&candidate, sizeof(candidate)); in uid_shift_pick()
|