Home
last modified time | relevance | path

Searched refs:getrandom (Results 1 – 25 of 26) sorted by relevance

12

/systemd-251/docs/
DRANDOM_SEEDS.md28 * The [`getrandom()`](http://man7.org/linux/man-pages/man2/getrandom.2.html)
33 * The `getrandom()` system call with its `flags` parameter set to
148 opting instead for using `getrandom(GRND_INSECURE)`. After the pool is
149 initialized, this is identical to `getrandom(0)`, returning cryptographically
290 1. *Why don't you just use getrandom()? That's all you need!*
292 Did you read any of the above? getrandom() is hooked to the kernel entropy
300 Same story. That call is just a different name for `getrandom()` with
343 it gets that from `getrandom()`, and thus we have to wait for random pool
344 initialization the same way as calling `getrandom()`
348 throughput there's little it gets us over just using `getrandom()`. Also,
/systemd-251/src/random-seed/
Drandom-seed.c270 k = getrandom(buf, buf_size, GRND_NONBLOCK); in run()
273 k = getrandom(buf, buf_size, 0); /* retry synchronously */ in run()
/systemd-251/src/basic/
Drandom-util.c53 … ssize_t l = getrandom(p, n, FLAGS_SET(flags, RANDOM_BLOCK) ? 0 : GRND_INSECURE); in genuine_random_bytes()
Dsyscall-list.txt139 getrandom
Dsyscalls-alpha.txt139 getrandom 511
Dsyscalls-arc.txt139 getrandom 278
Dsyscalls-arm.txt139 getrandom 384
Dsyscalls-arm64.txt139 getrandom 278
Dsyscalls-i386.txt139 getrandom 355
Dsyscalls-ia64.txt139 getrandom 1339
Dsyscalls-loongarch64.txt139 getrandom 278
Dsyscalls-m68k.txt139 getrandom 352
Dsyscalls-mips64.txt139 getrandom 5313
Dsyscalls-mips64n32.txt139 getrandom 6317
Dsyscalls-mipso32.txt139 getrandom 4353
Dsyscalls-powerpc.txt139 getrandom 359
Dsyscalls-powerpc64.txt139 getrandom 359
Dsyscalls-riscv32.txt139 getrandom 278
Dsyscalls-riscv64.txt139 getrandom 278
Dsyscalls-s390.txt139 getrandom 349
Dsyscalls-s390x.txt139 getrandom 349
Dsyscalls-sparc.txt139 getrandom 347
Dsyscalls-x86_64.txt139 getrandom 318
Dmissing_syscall.h91 # define getrandom missing_getrandom macro
/systemd-251/
Dmeson.build571 if cc.has_function('getrandom', prefix : '''#include <sys/random.h>''', args : '-D_GNU_SOURCE')
575 have = cc.has_function('getrandom', prefix : '''#include <linux/random.h>''')

12