martin
|
ce099b4099
|
Remove clause 3 and 4 from TNF licenses
|
2008-04-28 20:22:51 +00:00 |
matt
|
c2b9622034
|
Don't need to that particular in mtprng_random(). Use 2 values instead of 8.
|
2008-02-17 22:49:11 +00:00 |
matt
|
ab1d549cb1
|
Improve my version of mtprng_random. Reshuffle things. Add an compatible
version of init_by_array.
|
2008-02-02 01:13:04 +00:00 |
simonb
|
e99e83279b
|
Check _STANDALONE as well as _KERNEL when choosing headers to include.
Also pull in <lib/libkern/libkern.h> so we get prototypes and a struct
mtprng_state declaration.
|
2008-01-31 08:23:13 +00:00 |
simonb
|
4cbecce6c5
|
Have mtprng_random() call mtprng_rawrandom() to get more
random data instead of calling itself. Much nicer to the
stack...
|
2008-01-31 03:37:13 +00:00 |
simonb
|
ba30aadce1
|
Check against correct constant in a KASSERT().
|
2008-01-31 03:34:04 +00:00 |
matt
|
3056c4f69a
|
Add Mersenne Twister prototypes and state struct to libkern.h
Cleanup a comment. s/RLEN/MTPRNG_RLEN/g s/POS1/MTPRNG_POS1/g
Remove unneeded test code.
|
2008-01-31 02:36:09 +00:00 |
matt
|
cd27642585
|
Add Mersenne Twister PRNG implementation. This is a new implementation.
|
2008-01-31 02:09:54 +00:00 |