index
:
systemd
main
systemd
Fast-forward packages
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
src
/
basic
/
random-util.c
(
follow
)
Commit message (
Expand
)
Author
Age
Files
Lines
*
random-util: add crypto_random_bytes_allocate_iovec()
Lennart Poettering
2024-06-15
1
-0
/
+19
*
io-util: introduce loop_write_full that takes a timeout
Mike Yuan
2023-09-07
1
-1
/
+1
*
basic: drop unused include
Lennart Poettering
2023-06-23
1
-1
/
+0
*
tree-wide: getpid() → getpid_cached()
Lennart Poettering
2023-06-23
1
-1
/
+2
*
Include <threads.h> if possible to get thread_local definition
Cristian Rodríguez
2023-03-06
1
-0
/
+1
*
tree-wide: use -EBADF for fd initialization
Zbigniew Jędrzejewski-Szmek
2022-12-19
1
-4
/
+4
*
random-util: drop unnecessary header file
Lennart Poettering
2022-08-17
1
-10
/
+5
*
Simplify random number selection
Jason A. Donenfeld
2022-05-31
1
-155
/
+114
*
tree-wide: Simplify variable declarations behind #ifdef
Jan Janssen
2022-04-23
1
-4
/
+2
*
random-util: remove RDRAND usage
Jason A. Donenfeld
2022-03-14
1
-163
/
+4
*
random-util: drop left-over comment
Lennart Poettering
2022-03-14
1
-3
/
+0
*
random-util: unify RANDOM_ALLOW_INSECURE and !RANDOM_BLOCK and simplify
Jason A. Donenfeld
2022-03-09
1
-97
/
+42
*
random-util: use ssize_t for getrandom return value
Mike Gilbert
2021-12-26
1
-8
/
+8
*
tree-wide: add missing whitespace at the end of comments
Yu Watanabe
2021-06-15
1
-1
/
+1
*
random-util: fix type of random_u64_range()
Lennart Poettering
2021-02-18
1
-1
/
+1
*
random-util: add random_u64_range() that acquires a random number from a cert...
Lennart Poettering
2021-02-14
1
-0
/
+19
*
random-util: open /dev/urandom implicitly in random_write_entropy() if needed
Lennart Poettering
2020-12-03
1
-3
/
+14
*
license: LGPL-2.1+ -> LGPL-2.1-or-later
Yu Watanabe
2020-11-09
1
-1
/
+1
*
random-util: Add an environment variable to disable RDRAND.
Kyle Huey
2020-09-24
1
-0
/
+10
*
all: fix minor typos
Yuri Chornoivan
2020-07-07
1
-1
/
+1
*
random-util: add common helper random_write_entropy() for crediting entropy t...
Lennart Poettering
2020-06-24
1
-0
/
+35
*
random-util: make use of GRND_INSECURE when it is defined
Lennart Poettering
2020-05-10
1
-2
/
+16
*
random-util: use ERRNO_IS_NOT_SUPPORTED() macro
Lennart Poettering
2020-05-10
1
-1
/
+2
*
random-util: actually encode our expectations on RAND_MAX
Lennart Poettering
2020-05-10
1
-1
/
+3
*
random-util: call initialize_srand() after fork()
Yu Watanabe
2019-12-17
1
-1
/
+13
*
tree-wide: drop missing.h
Yu Watanabe
2019-10-31
1
-7
/
+2
*
random-seed: move pool size determination to random-util.[ch]
Lennart Poettering
2019-07-25
1
-0
/
+25
*
random-util: add a longer comment explaining our RDRAND use
Lennart Poettering
2019-05-16
1
-4
/
+111
*
random-util: eat up bad RDRAND values seen on AMD CPUs
Lennart Poettering
2019-05-10
1
-1
/
+14
*
util-lib: fix a typo in rdrand
Evgeny Vereshchagin
2019-05-08
1
-1
/
+1
*
random-util: rename "err" to "success"
Lennart Poettering
2019-05-08
1
-4
/
+4
*
random-util: hash AT_RANDOM getauxval() value before using it
Lennart Poettering
2019-05-07
1
-6
/
+12
*
random-util: use gcc's bit_RDRND definition if it exists
Lennart Poettering
2019-05-07
1
-1
/
+6
*
random-util: rename RANDOM_DONT_DRAIN → RANDOM_MAY_FAIL
Lennart Poettering
2019-05-07
1
-17
/
+19
*
Add wrapper for __msan_unpoinson() to reduce #ifdeffery
Zbigniew Jędrzejewski-Szmek
2019-02-25
1
-9
/
+2
*
random-util: drop duplicated linux/random.h
Yu Watanabe
2018-12-06
1
-1
/
+0
*
random-util: allow RDRAND to be used in 32-bit x86 binaries
Mike Gilbert
2018-11-10
1
-7
/
+7
*
basic: make rdrand64 a little bit more MSAn-friendly
Evgeny Vereshchagin
2018-11-10
1
-0
/
+8
*
random-util: optionally allow randomness to be generated via RDRAND
Lennart Poettering
2018-11-08
1
-27
/
+48
*
random-util: introduce RANDOM_DONT_DRAIN
Lennart Poettering
2018-11-08
1
-11
/
+12
*
random-util: if zero random bytes are requested we can always fulfill the req...
Lennart Poettering
2018-11-08
1
-0
/
+3
*
random-util: optionally enable blocking getrandom() behaviour
Lennart Poettering
2018-11-08
1
-57
/
+77
*
random-util: change high_quality_required bool parameter into a flags parameter
Lennart Poettering
2018-11-08
1
-10
/
+8
*
random-util: fix indentation
Lennart Poettering
2018-11-08
1
-2
/
+2
*
random-util: handle if getrandom() returns 0
Lennart Poettering
2018-11-08
1
-0
/
+3
*
random-util: rename acquire_random_bytes() → genuine_random_bytes()
Lennart Poettering
2018-11-08
1
-10
/
+7
*
random-util: initialize srand() from RDRAND
Lennart Poettering
2018-11-06
1
-0
/
+4
*
random-util: we don't intend to write to auxv, hence make it const
Lennart Poettering
2018-11-06
1
-2
/
+2
*
random-util: use RDRAND for randomness if the kernel doesn't want to give us any
Lennart Poettering
2018-08-21
1
-2
/
+59
*
tree-wide: remove Lennart's copyright lines
Lennart Poettering
2018-06-14
1
-3
/
+0
[next]