Gregory Nutt
|
6f833be9d5
|
Separate XorShift128 PRNG from /dev/urandom and make it generally available.
|
2016-08-20 11:36:02 -06:00 |
|
Gregory Nutt
|
7370d3171a
|
Move include/nuttx/lib.h to include/nuttx/lib/lib.h
|
2016-07-21 14:05:44 -06:00 |
|
Gregory Nutt
|
4b4dbc79a2
|
Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h
|
2016-07-20 13:15:37 -06:00 |
|
Gregory Nutt
|
e0aaa168aa
|
/dev/urandom: Add option to replace software PRNG with hardware TRNG.
|
2016-07-18 07:03:47 -06:00 |
|
Gregory Nutt
|
07e20479ad
|
/dev/random: Add configuration option to use the congruential PRNG.
|
2016-07-17 07:56:25 -06:00 |
|
Gregory Nutt
|
ffd3a31649
|
Rename lib_rand.c to lib_srand.c
|
2016-07-17 07:11:09 -06:00 |
|
David Alessio
|
6cefbc0c3f
|
This change provides an option to add /dev/urandom to all architectures. The pseudo-random algorithm I choose strikes an arguably-good balance between being "random" and small/fast enough for 8/16 bit MCUs. It’s the well-documented xorshift128 algorithm. It has an internal state of 128 bits that can be [re-]seeded with a write.
|
2016-07-17 06:42:26 -06:00 |
|