about summary refs log tree commit diff
path: root/src/libstd/sys/unix/rand.rs
AgeCommit message (Expand)AuthorLines
2020-07-27mv std libs to library/mark-230/+0
2020-03-21Use getentropy(2) on macoshatoo-0/+37
2019-11-29Format libstd/sys with rustfmtDavid Tolnay-30/+33
2019-11-04Use any() in code shared between FreeBSD and NetBSDnia-1/+1
2019-11-04Use KERN_ARND syscall for random numbers on NetBSD, same as FreeBSD.nia-1/+2
2019-10-22Apply clippy::needless_return suggestionsMateusz MikuĊ‚a-1/+1
2019-08-06redox: convert to target_family unixJeremy Soller-1/+14
2019-05-01Fall back to `/dev/urandom` on `EPERM` for `getrandom`Tobias Bucher-1/+6
2019-04-16Add a comment explaining why SecRandomCopyBytes is not used on MacOSEd Barnard-0/+7
2019-02-28libstd => 2018Taiki Endo-14/+10
2018-12-25Remove licensesMark Rousskov-10/+0
2018-09-02Fix an endless loop when `getrandom` is not availableTobias Bucher-0/+1
2018-08-29Don't leak the file descriptor in `rand`Tobias Bucher-44/+11
2018-08-26Reduce number of syscalls in `rand`Tobias Bucher-39/+57
2018-06-27[fuchsia] Update zx_cprng_draw to target semanticsAdam Barth-26/+2
2018-06-19Update zx_cprng_draw_new on FuchsiaAdam Barth-4/+3
2017-11-09Use getrandom syscall for all Linux and Android targets.Marco A L Barbosa-50/+5
2017-11-08std: Remove `rand` crate and moduleAlex Crichton-215/+74
2017-10-31Fix NR_GETRANDOM for linux x32Marco A L Barbosa-1/+3
2017-09-24The Magenta kernel is now called Zircon.P.Y. Laligand-4/+4
2017-08-01Fixed all unnecessary muts in language coreIsaac van Bakel-2/+2
2017-02-06std: Remove cfg(cargobuild) annotationsAlex Crichton-4/+0
2016-11-04std: Track change to cprng syscall signature (Fuchsia)Raph Levien-8/+20
2016-10-24Add support for kernel randomness for FuchsiaRaph Levien-1/+53
2016-10-08Use less `size_t` casts in libstd since it's now defined as `usize`Tobias Bucher-3/+3
2016-09-09Add s390x supportUlrich Weigand-4/+10
2016-08-21Use the kernel arc4rand for FreeBSD OsRng.Aaron Gallagher-1/+52
2016-08-21Reduce duplication in std::sys::unix::rand.Aaron Gallagher-29/+25
2016-04-20rand: add comments about getrandom() fallbackDoug Goldstein-0/+8
2016-04-19rand: don't block before random pool is initializedDoug Goldstein-1/+8
2016-03-22try! -> ?Jorge Aparicio-1/+1
2016-02-17std: restructure rand os code into sys modulesSean McArthur-0/+273