summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/arc4random.c
Commit message (Expand)AuthorAgeFilesLines
* libc: Use O_CLOEXEC for various internal file descriptors.jilles2012-09-291-1/+1
* Prefer sysctl to open/read/close for obtaining random data.pjd2012-07-041-5/+35
* Further reduce diffs with OpenBSD's arc4random. The main functionaldas2011-11-151-33/+30
* Sync the style, comments, and variable names of arc4random.c withdas2011-11-151-39/+33
* Return two fixes from previous backout which does not requireache2008-09-091-1/+2
* Restored from previous backing out (because that is OpenBSD way, soache2008-08-031-12/+16
* Per rwatson's request:ache2008-07-251-29/+17
* Fixes based on bde's feedback.ache2008-07-221-9/+9
* Change /dev/urandom to /dev/random since urandom marked asache2008-07-221-1/+1
* In arc4random_uniform() detect simple "power of two" case andache2008-07-221-1/+5
* Add arc4random_uniform() function (to avoid "modulo bias")ache2008-07-221-0/+45
* Increase initially dropped bytes from 512 to 768 (768 is alsoache2008-07-221-3/+3
* 1) Use __packed attr on rdat structure to make it exact 128 bytes.ache2008-07-211-10/+17
* 1) Update copyright notice.ache2008-07-211-43/+53
* Implement arc4random_buf() functionache2008-07-211-1/+16
* Decrease arc4_count only when needed and with proper bytes amount.ache2008-07-211-1/+2
* 1) Set stired flag after forced initialization.ache2008-07-211-1/+2
* ANSIfy function definitions, reduces diff against OpenBSD.delphij2007-05-251-17/+8
* Automatically re-stir every 400000 callsache2006-10-041-2/+4
* Add locking so that arc4random(3) functions are all reentrant forgreen2004-03-241-10/+54
* Apply style(9).green2004-02-231-2/+6
* style cleanup: Remove duplicate $FreeBSD$ tags.cperciva2004-02-101-2/+0
* Discard the first 1024 bytes of output as suggested bydas2004-01-201-1/+13
* Fix the style of the SCM ID's.obrien2002-03-221-2/+5
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-0/+2
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-271-3/+3
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-121-3/+3
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
* Add arc4random() functions from OpenBSD. They are almost same as ourache1997-06-141-0/+172
OpenPOWER on IntegriCloud