Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a time | otto | 2005-11-30 | 1 | -9/+2 |
| | | | | | | | and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@ | ||||
* | Change email address for author, at his request. | kjell | 2005-06-06 | 1 | -2/+2 |
| | |||||
* | Change license to standard OpenBSD boilerplate, with permission | kjell | 2005-06-06 | 1 | -6/+15 |
| | | | | from original author (David Mazieres) | ||||
* | use the new fat random sysctl to get initial state. (fallback to looping). | tedu | 2005-06-04 | 1 | -12/+14 |
| | | | | stir after eating 400000 words. ok + input deraadt | ||||
* | kill spaces | hshoexer | 2004-11-02 | 1 | -3/+3 |
| | | | | ok djm@ | ||||
* | Discard first 256 bytes of keystream, as per recommendation in | djm | 2003-11-26 | 1 | -1/+10 |
| | | | | | "Weaknesses in the Key Scheduling Algorithm of RC4", Fluhrer, Mantin and Shamir. ok itojun@ | ||||
* | just use sysctl for stirring. thread safe and can't fail. | tedu | 2003-08-16 | 1 | -23/+10 |
| | | | | ok deraadt and co. | ||||
* | ansification; checked by pval | deraadt | 2003-06-11 | 1 | -18/+9 |
| | |||||
* | re-stir if pid changes; markus & me | deraadt | 2003-02-14 | 1 | -3/+5 |
| | |||||
* | License clarification from David Mazieres, ok deraadt@ | pvalchev | 2001-06-05 | 1 | -3/+2 |
| | |||||
* | Set j = i after arc4random key schedule to be more like arc4 stream cipher; | deraadt | 1999-09-28 | 1 | -1/+2 |
| | | | | from conversations between various people | ||||
* | if /dev/arandom is not available for seeding, use data from sysctl | provos | 1999-06-29 | 1 | -5/+22 |
| | | | | kern.arandom. | ||||
* | $OpenBSD$ | niklas | 1998-03-22 | 1 | -1/+1 |
| | |||||
* | Clean up some -Wall flowers. | millert | 1997-07-09 | 1 | -2/+3 |
| | |||||
* | arc4random() number generator, for use with things like RPC xid's. | dm | 1996-12-28 | 1 | -0/+175 |