summaryrefslogtreecommitdiff
path: root/sys/dev/rnd.c
AgeCommit message (Collapse)Author
1997-08-22nbits should probably actually be initialized.Jason Downs
1997-06-28fix the typesTheo de Raadt
1997-06-24more accounting!Michael Shalayeff
1997-06-22now where did that patch go?flipk
1997-06-22wasn't a race after all. properly initialize event_q pointers so theflipk
last one doesn't point off the end.
1997-06-21revert, there's a nasty race condition here.flipk
1997-06-20count properly (;Michael Shalayeff
1997-06-18s/u_char/u_int8_t/g, where reasonableMichael Shalayeff
s/\(static.*arc4_[^(]+(\)[^,)]+\([^)]*)\)/\1\2/g less cpu load, just in case
1997-06-17count slow queue low entropy dropsMichael Shalayeff
bigger queue use queue overflows for arc4_stir()
1997-06-14split the treatment of the random eventsMichael Shalayeff
event_q by flipk@ spl fix by deraadt@ gother statistics about whole processing use 'sysctl kern.random' to view what had happened also fix wrong vm.psstrings description
1997-06-12little faster, smaller, saferMichael Shalayeff
1997-06-12back out recent changes....Michael Shalayeff
1997-06-11oops, clean debug flagsMichael Shalayeff
1997-06-10do the job out of the calling function's splMichael Shalayeff
1997-03-30no more 2(two) md5 libs in kernel!Michael Shalayeff
tested for rnd(4).... should work for ip too, since it's the copy of ip_md*. use sys/md5k.h for protos.... std iface forever! hurray!
1997-02-04Make sure arc4random gets initialized eventually.dm
1997-01-15moved init of ret in randomioctl() to better locationkstailey
1997-01-15prevent this warning:kstailey
rnd.c:823: warning: `ret' might be used uninitialized in this function when compiling with -Wall
1997-01-05Remove lots of timer_state structs as they just ate memory and only a few wasNiklas Hallqvist
ever used. Now a single state is kept for net, tty and disk events resp. Also, call the randomness from disk_unbusy instead of biodone, as biodone gets a lot of virtual events (from virtual filesystems etc), and as a bonus: feed xfer time and size into the entropy pool too.
1997-01-01don't count on MFS in add_blkdev_randomnessMichael Shalayeff
1996-12-28Fix prerequisite test, still need to check why NODEV bufs comes here.Niklas Hallqvist
1996-10-19random device is permanent now.Michael Shalayeff
1996-10-18-Wall happienessMichael Shalayeff
1996-09-29Short comment describing the origin of arc4.dm
1996-09-06cleanup and sync w/ latest Linux source.Michael Shalayeff
remove keyboard randomness entry point. make Free ppl happy, remove suspicious piece. missed: SHA neede in libkern, why not to put aRC4 there too?
1996-08-29rnd -> randomTheo de Raadt
1996-08-11Increased entropy through decreased typos.dm
1996-08-11Added arc4random and /dev/arnd.dm
1996-08-10indent nicelyTheo de Raadt
1996-04-24Supply randomness source for the rnd device.Michael Shalayeff
1996-04-17Update w/ the fact of MD5 presence in the libkern.aMichael Shalayeff
1996-03-29The random data source driver itself.Michael Shalayeff
Initial commit.