Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-07-07 | fix accounting bug on extraction - we were incorrectly subtracting many times | Damien Miller | |
the amount requested from the pool's entropy estimate; ok mickey@ deraadt@ | |||
2005-05-27 | De-inline a couple of long functions, which also makes them ↵ | Hakan Olsson | |
debugger-visible. 'makes sense' mickey@ | |||
2005-03-04 | Fix a variable name in a comment; from Clint <cruoho@gmail.com>; ok tdeval@ | Robert Nagy | |
2005-01-27 | poll can ever deny reads for srandom only; millert@ ok | Michael Shalayeff | |
2005-01-27 | In randompoll() the write check was overriding the results of the read check. | Todd C. Miller | |
OK mickey@ | |||
2004-07-21 | remove a few inlines from funcs that are used more than once and make code ↵ | Michael Shalayeff | |
bigger; asked by art@ | |||
2004-07-06 | use MALLOC/FREE for fixed size buffer allocations | Michael Shalayeff | |
2004-07-05 | Allocate buffers in randomread and randomwrite via malloc instead | Todd C. Miller | |
of from the stack. Keeps us from running out of kernel stack during stack-heavy networking load. The bug manifests as a panic during bootup with an fpu-related assertion failure on i386. Fix from Christopher Pascoe; commit requested by deraadt@ | |||
2004-05-07 | Replace RSA-derived md5 code with code derived from Colin Plumb's PD version. | Todd C. Miller | |
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@ | |||
2004-04-02 | repair linuxisms tested on hppa, sparc, vax and i386; from Sven Dehmlow ↵ | Michael Shalayeff | |
<sven_dehmlow@gmx.de> | |||
2004-04-02 | kill _8 api completely | Michael Shalayeff | |
2004-03-15 | per popular demand panic on premature arc4 initializations (would have ↵ | Michael Shalayeff | |
paniced anyway elsewhere) | |||
2003-11-03 | add arc4random_bytes. input ok mickey@ | Ted Unangst | |
2003-10-21 | typos from Tom Cosgrove; | Jason McIntyre | |
2003-09-23 | Replace select backends with poll backends. selscan() and pollscan() | Todd C. Miller | |
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2002-11-25 | protect the arc4_getbyte() w/ an splhigh since | Michael Shalayeff | |
there by multiple pathways, where it worked until read from userland in big buffers and some luck. does not cause a memory trashing, but rather may mess up the arc4 state such that it will not generate one particular value until a stir. sigh. was reported by multiple people over some time. | |||
2002-11-11 | grammar fixens from Andrey Smagin | Michael Shalayeff | |
2002-06-19 | add kqfilter for random, regress is coming | Michael Shalayeff | |
2002-06-14 | from freebsd: | Michael Shalayeff | |
Throw away the first N words of output, as suggested in the paper "Weaknesses in the Key Scheduling Algorithm of RC4" by Fluher, Mantin, and Shamir. (N = 256 in our case.) | |||
2002-05-27 | kill unused arc4random_8() API | Theo de Raadt | |
2002-04-01 | a few typos from pechkin | Michael Shalayeff | |
2002-03-21 | on extract: better spl granularity, make sure pool is updated between runs; ↵ | Michael Shalayeff | |
later pt out by camield@ | |||
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-01-31 | drop the low drop bits number to 10 drop | Michael Shalayeff | |
2002-01-10 | return ENOTTY not EINVAL in default: in *ioctl() | Michael Shalayeff | |
2002-01-03 | Restore entropy_count calculation. mickey@ ok | Thomas Nordin | |
2001-12-29 | finer spl granularity, allowing ints to happen; pointed out and tested on ↵ | Michael Shalayeff | |
vax by hugh@ | |||
2001-09-24 | there was a possible overrun in prev folding length fix. | Michael Shalayeff | |
however i was lucky enough so it worked. anyway, this fixes the problem and seems to run very much alright on sparc at least. | |||
2001-09-23 | oops, fix the after folding sizes | Michael Shalayeff | |
2001-06-24 | only run timeout if stirring happened, save cycles for mass energy conservation | Michael Shalayeff | |
2001-05-08 | reapply 1.39 once again, it seems i've fixed two bugs in it and it | Michael Shalayeff | |
works ok on sparc and i386 now. | |||
2001-01-17 | advance through buffer, leftovers from singular version; from Henric ↵ | Michael Shalayeff | |
Jungheim <henric@aimnet.com> | |||
2000-10-22 | oops; deraadt@ ok | Michael Shalayeff | |
2000-10-20 | fix ioctls; pointed out by Pawel Krawczyk <http://ceti.pl/~kravietz/> | Michael Shalayeff | |
2000-08-21 | fix indentation from 1.41 addition | Jason Wright | |
2000-07-18 | do not call arc4_stir() on pool overflow. | Michael Shalayeff | |
calling it would hit perfomance in two evil ways, by delaying queue processing and hitting on arc4 quality. basic idea was expressed by dm@ some time ago when we were investigating poor arc4 quality. then, numbers showed how badly it hits on us. | |||
2000-06-18 | Support FIONBIO and FIOASYNC. FIOASYNC is more or less a no-op> | Todd C. Miller | |
2000-06-16 | undo latest problem. breaks the sparc. diff is too large, we are not ↵ | Theo de Raadt | |
debugging it for you | |||
2000-06-08 | replace linked lists for event queue with circular buffer, | Michael Shalayeff | |
which gives two advantages -- faster and smaller. do not arc4_stir on pool overflow, it takes too much time, instead just hash data in and keep entropy count trim. some minor cleanups here and there. fixes overdropping of entropy on non-idle system load. provos@ ok | |||
2000-04-18 | Double usage of random() in the pseudo device to avoid setting | Hugh Graham | |
every 32nd bit to zero in the output. Checked by mickey. | |||
2000-04-14 | this should fix the alpha; closes PR kernel/1189 | Michael Shalayeff | |
2000-04-13 | better has when adding entropy to the pool. | Michael Shalayeff | |
bigger pool (4k). | |||
2000-04-10 | add support for more random sources. | Michael Shalayeff | |
make it easy to add more in the future. make extract_entropy() faster. more accurate stats. | |||
2000-03-19 | faster log2, more stats, lazy random stirring, more stats, less debug, help ↵ | Michael Shalayeff | |
and ok from provos@ | |||
1999-09-28 | Set j = i after arc4random key schedule to be more like arc4 stream cipher; | Theo de Raadt | |
from conversations between various people | |||
1997-08-22 | nbits should probably actually be initialized. | Jason Downs | |
1997-06-28 | fix the types | Theo de Raadt | |
1997-06-24 | more accounting! | Michael Shalayeff | |
1997-06-22 | now where did that patch go? | flipk | |