summaryrefslogtreecommitdiff
path: root/sys/dev/rnd.c
AgeCommit message (Expand)Author
2008-12-15remove i386-only inline assembler roll() function; gcc optimises theDamien Miller
2008-11-24extra decl not needed; spotted by djmTheo de Raadt
2008-11-24allow entropy to be queued before randomattach() is calledTheo de Raadt
2008-11-24Seed the random pool with the dmesg buffer at randomattach().Marco Pfatschbacher
2008-10-15kernel/5592: yield() between copying out large chunks of random data toDamien Miller
2008-10-10minor 3 was /dev/prandom, which used random(). make that use theTheo de Raadt
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
2008-06-11correct long since bitrotted commentsDamien Miller
2008-06-10reorder functions and variables in rnd.c so they are more logicallyDamien Miller
2008-06-09simplify math for arc4random_uniform() suggested byDamien Miller
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2008-06-04fix math screwup that reintroduced a bias for upper_bounds in rangeDamien Miller
2008-03-02Add a arc4random_uniform() that returns a uniformly distributed numberDamien Miller
2007-12-29switch from spls to mutexes for protecting the random state.David Gwynne
2007-10-15zero the right object, not some hunk of stack; ok henric@Damien Miller
2007-10-15Switch arc4random to using routines from crypto/arc4.[ch], and reworkDamien Miller
2007-10-09MALLOC -> mallocGilles Chehade
2007-06-17ansify/de-registerJasper Lievisse Adriaanse
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2006-04-11make this use nanotime, not microtime; ok mickey@Damien Miller
2005-07-31use monotonic time for repeat event detections; feedback and ok deraadt@Damien Miller
2005-07-07fix accounting bug on extraction - we were incorrectly subtracting many timesDamien Miller
2005-05-27De-inline a couple of long functions, which also makes them debugger-visible....Hakan Olsson
2005-03-04Fix a variable name in a comment; from Clint <cruoho@gmail.com>; ok tdeval@Robert Nagy
2005-01-27poll can ever deny reads for srandom only; millert@ okMichael Shalayeff
2005-01-27In randompoll() the write check was overriding the results of the read check.Todd C. Miller
2004-07-21remove a few inlines from funcs that are used more than once and make code bi...Michael Shalayeff
2004-07-06use MALLOC/FREE for fixed size buffer allocationsMichael Shalayeff
2004-07-05Allocate buffers in randomread and randomwrite via malloc insteadTodd C. Miller
2004-05-07Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.Todd C. Miller
2004-04-02repair linuxisms tested on hppa, sparc, vax and i386; from Sven Dehmlow <sven...Michael Shalayeff
2004-04-02kill _8 api completelyMichael Shalayeff
2004-03-15per popular demand panic on premature arc4 initializations (would have panice...Michael Shalayeff
2003-11-03add arc4random_bytes. input ok mickey@Ted Unangst
2003-10-21typos from Tom Cosgrove;Jason McIntyre
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2002-11-25protect the arc4_getbyte() w/ an splhigh sinceMichael Shalayeff
2002-11-11grammar fixens from Andrey SmaginMichael Shalayeff
2002-06-19add kqfilter for random, regress is comingMichael Shalayeff
2002-06-14from freebsd:Michael Shalayeff
2002-05-27kill unused arc4random_8() APITheo de Raadt
2002-04-01a few typos from pechkinMichael Shalayeff
2002-03-21on extract: better spl granularity, make sure pool is updated between runs; l...Michael Shalayeff
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-31drop the low drop bits number to 10 dropMichael Shalayeff
2002-01-10return ENOTTY not EINVAL in default: in *ioctl()Michael Shalayeff
2002-01-03Restore entropy_count calculation. mickey@ okThomas Nordin
2001-12-29finer spl granularity, allowing ints to happen; pointed out and tested on vax...Michael Shalayeff
2001-09-24there was a possible overrun in prev folding length fix.Michael Shalayeff