summaryrefslogtreecommitdiff
path: root/lib/libc/gen/arc4random.c
Commit message (Expand)AuthorAgeFilesLines
* Return two fixes from previous backout which does not requireAndrey A. Chernov2008-09-091-1/+2
* Restored from previous backing out (because that is OpenBSD way, soAndrey A. Chernov2008-08-031-12/+16
* Per rwatson's request:Andrey A. Chernov2008-07-251-29/+17
* Fixes based on bde's feedback.Andrey A. Chernov2008-07-221-9/+9
* Change /dev/urandom to /dev/random since urandom marked asAndrey A. Chernov2008-07-221-1/+1
* In arc4random_uniform() detect simple "power of two" case andAndrey A. Chernov2008-07-221-1/+5
* Add arc4random_uniform() function (to avoid "modulo bias")Andrey A. Chernov2008-07-221-0/+45
* Increase initially dropped bytes from 512 to 768 (768 is alsoAndrey A. Chernov2008-07-221-3/+3
* 1) Use __packed attr on rdat structure to make it exact 128 bytes.Andrey A. Chernov2008-07-211-10/+17
* 1) Update copyright notice.Andrey A. Chernov2008-07-211-43/+53
* Implement arc4random_buf() functionAndrey A. Chernov2008-07-211-1/+16
* Decrease arc4_count only when needed and with proper bytes amount.Andrey A. Chernov2008-07-211-1/+2
* 1) Set stired flag after forced initialization.Andrey A. Chernov2008-07-211-1/+2
* ANSIfy function definitions, reduces diff against OpenBSD.Xin LI2007-05-251-17/+8
* Automatically re-stir every 400000 callsAndrey A. Chernov2006-10-041-2/+4
* Add locking so that arc4random(3) functions are all reentrant forBrian Feldman2004-03-241-10/+54
* Apply style(9).Brian Feldman2004-02-231-2/+6
* style cleanup: Remove duplicate $FreeBSD$ tags.Colin Percival2004-02-101-2/+0
* Discard the first 1024 bytes of output as suggested byDavid Schultz2004-01-201-1/+13
* Fix the style of the SCM ID's.David E. O'Brien2002-03-221-2/+5
* Remove _THREAD_SAFE and make libc thread-safe by default byDaniel Eischen2001-01-241-0/+2
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),Jason Evans2000-01-271-3/+3
* Add three-tier symbol naming in support of POSIX thread cancellationJason Evans2000-01-121-3/+3
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
* Add arc4random() functions from OpenBSD. They are almost same as ourAndrey A. Chernov1997-06-141-0/+172