summaryrefslogtreecommitdiff
path: root/src/basic/random-util.c
Commit message (Expand)AuthorAgeFilesLines
* 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-071-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
* basic/random-util: do not use getrandom() under msanEvgeny Vereshchagin2018-05-311-1/+1
* tree-wide: be more careful with the type of array sizesLennart Poettering2018-04-271-1/+1
* tree-wide: drop spurious newlines (#8764)Lennart Poettering2018-04-191-1/+0
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* log: minimize includes in log.hLennart Poettering2018-01-111-2/+3
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* build-sys: use #if Y instead of #ifdef Y everywhereZbigniew Jędrzejewski-Szmek2017-10-041-4/+4
* treewide: fix typos (#6566)Torstein Husebø2017-08-081-1/+1
* random-util: we are fine if ints are 16 bytes actuallyLennart Poettering2017-07-111-1/+1
* random-util: always cast from smaller to bigger type when comparingLennart Poettering2017-07-111-4/+4
* basic: Fix build warning in random-util (#6284)Benjamin Robin2017-07-041-3/+3
* basic/random-util: do not fall back to /dev/urandom if getrandom() returns shortZbigniew Jędrzejewski-Szmek2017-06-281-35/+42
* basic/random-util: use most of the pseudorandom bytes from rand()Zbigniew Jędrzejewski-Szmek2017-06-281-8/+33
* basic/random-util: add new header for getrandom()Zbigniew Jędrzejewski-Szmek2017-04-211-1/+7
* Fixed a small typo in a comment (#3514)Alex Gaynor2016-06-121-1/+1