summaryrefslogtreecommitdiffstats
path: root/src/basic/random-util.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* io-util: introduce loop_write_full that takes a timeoutMike Yuan2023-09-071-1/+1
* basic: drop unused includeLennart Poettering2023-06-231-1/+0
* tree-wide: getpid() → getpid_cached()Lennart Poettering2023-06-231-1/+2
* Include <threads.h> if possible to get thread_local definitionCristian Rodríguez2023-03-061-0/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-4/+4
* random-util: drop unnecessary header fileLennart Poettering2022-08-171-10/+5
* Simplify random number selectionJason A. Donenfeld2022-05-311-155/+114
* tree-wide: Simplify variable declarations behind #ifdefJan Janssen2022-04-231-4/+2
* random-util: remove RDRAND usageJason A. Donenfeld2022-03-141-163/+4
* random-util: drop left-over commentLennart Poettering2022-03-141-3/+0
* random-util: unify RANDOM_ALLOW_INSECURE and !RANDOM_BLOCK and simplifyJason A. Donenfeld2022-03-091-97/+42
* random-util: use ssize_t for getrandom return valueMike Gilbert2021-12-261-8/+8
* tree-wide: add missing whitespace at the end of commentsYu Watanabe2021-06-151-1/+1
* random-util: fix type of random_u64_range()Lennart Poettering2021-02-181-1/+1
* random-util: add random_u64_range() that acquires a random number from a cert...Lennart Poettering2021-02-141-0/+19
* random-util: open /dev/urandom implicitly in random_write_entropy() if neededLennart Poettering2020-12-031-3/+14
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* random-util: Add an environment variable to disable RDRAND.Kyle Huey2020-09-241-0/+10
* all: fix minor typosYuri Chornoivan2020-07-071-1/+1
* random-util: add common helper random_write_entropy() for crediting entropy t...Lennart Poettering2020-06-241-0/+35
* random-util: make use of GRND_INSECURE when it is definedLennart Poettering2020-05-101-2/+16
* random-util: use ERRNO_IS_NOT_SUPPORTED() macroLennart Poettering2020-05-101-1/+2
* random-util: actually encode our expectations on RAND_MAXLennart Poettering2020-05-101-1/+3
* random-util: call initialize_srand() after fork()Yu Watanabe2019-12-171-1/+13
* tree-wide: drop missing.hYu Watanabe2019-10-311-7/+2
* random-seed: move pool size determination to random-util.[ch]Lennart Poettering2019-07-251-0/+25
* random-util: add a longer comment explaining our RDRAND useLennart Poettering2019-05-161-4/+111
* random-util: eat up bad RDRAND values seen on AMD CPUsLennart Poettering2019-05-101-1/+14
* util-lib: fix a typo in rdrandEvgeny Vereshchagin2019-05-081-1/+1
* random-util: rename "err" to "success"Lennart Poettering2019-05-081-4/+4
* random-util: hash AT_RANDOM getauxval() value before using itLennart Poettering2019-05-071-6/+12
* random-util: use gcc's bit_RDRND definition if it existsLennart Poettering2019-05-071-1/+6
* random-util: rename RANDOM_DONT_DRAIN → RANDOM_MAY_FAILLennart Poettering2019-05-071-17/+19
* Add wrapper for __msan_unpoinson() to reduce #ifdefferyZbigniew Jędrzejewski-Szmek2019-02-251-9/+2
* random-util: drop duplicated linux/random.hYu Watanabe2018-12-061-1/+0
* random-util: allow RDRAND to be used in 32-bit x86 binariesMike Gilbert2018-11-101-7/+7
* basic: make rdrand64 a little bit more MSAn-friendlyEvgeny Vereshchagin2018-11-101-0/+8
* random-util: optionally allow randomness to be generated via RDRANDLennart Poettering2018-11-081-27/+48
* random-util: introduce RANDOM_DONT_DRAINLennart Poettering2018-11-081-11/+12
* random-util: if zero random bytes are requested we can always fulfill the req...Lennart Poettering2018-11-081-0/+3
* random-util: optionally enable blocking getrandom() behaviourLennart Poettering2018-11-081-57/+77
* random-util: change high_quality_required bool parameter into a flags parameterLennart Poettering2018-11-081-10/+8
* random-util: fix indentationLennart Poettering2018-11-081-2/+2
* random-util: handle if getrandom() returns 0Lennart Poettering2018-11-081-0/+3
* random-util: rename acquire_random_bytes() → genuine_random_bytes()Lennart Poettering2018-11-081-10/+7
* random-util: initialize srand() from RDRANDLennart Poettering2018-11-061-0/+4
* random-util: we don't intend to write to auxv, hence make it constLennart Poettering2018-11-061-2/+2
* random-util: use RDRAND for randomness if the kernel doesn't want to give us anyLennart Poettering2018-08-211-2/+59
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0