summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/random.c
AgeCommit message (Expand)Author
2005-11-30Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeOtto Moerbeek
2005-08-08zap remaining rcsid.Marc Espie
2005-03-30ansi + de-registerPatrick Latifi
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-02-28Use int32_t, not long since this deals with 32bit quantities.Todd C. Miller
2002-12-06In srandomdev(), if we can't access /dev/arandom, use the sysctl() instead.Todd C. Miller
2000-04-04Fix the leak for real (that's what I get for hacking when i can't sleep).Todd C. Miller
2000-04-04Fix an fd leak if the read from /dev/arandom fails. Pointed out byTodd C. Miller
2000-04-03Add srandomdev() from FreeBSD for use by sendmail and others.Todd C. Miller
1998-02-07More XPG4.2 --Todd C. Miller
1998-02-06size_t n in initstate(); XPGTheo de Raadt
1996-09-15Remove dead codeThorsten Lockert
1996-08-19Fix RCS idsThorsten Lockert
1996-03-30Substantially improve random number generation by using the largest primeThorsten Lockert
1995-10-18initial import of NetBSD treeTheo de Raadt