This is step 1 of a 2 step process. In this step, we bring in a reasonable RNG from Harvey, which in turn came from BSD.
We don't change the fact that you needs to use #cons/random. In the next step, we create a #random which we can use with fd taps. This in turn will fix dropbear. btw I'm generating these patch messages now with a Go program that does what I need more reliably than the shell script; we're already seeing issues with non-bash users and the scripts, and I'd encourage folks to look at Go going forward for this kind of utility. ron The following changes since commit 915eac00a7e0f578f9e921af2b205b6efa3739b5: Slices: A growable list of pointers. (2016-01-25 11:02:20 -0500) are available in the git repository at: [email protected]:rminnich/akaros random for you to fetch changes up to 93ff0941a0f7c3460c593ec603fe9d1fe5b7d83d: Add the random number generator from Harvey (2016-01-29 09:36:52 -0800) ---------------------------------------------------------------- Ronald G. Minnich (1): Add the random number generator from Harvey kern/drivers/dev/Kbuild | 4 + kern/drivers/dev/fortuna.c | 433 ++++++++++++++++ kern/drivers/dev/random.c | 89 ++++ kern/drivers/dev/rijndael.c | 440 ++++++++++++++++ kern/drivers/dev/rijndael.tbl | 1138 +++++++++++++++++++++++++++++++++++++++++ kern/drivers/dev/sha2.c | 599 ++++++++++++++++++++++ kern/include/rijndael.h | 54 ++ kern/include/sha2.h | 87 ++++ kern/src/ns/Kbuild | 1 - 9 files changed, 2844 insertions(+), 1 deletion(-) create mode 100644 kern/drivers/dev/fortuna.c create mode 100644 kern/drivers/dev/random.c create mode 100644 kern/drivers/dev/rijndael.c create mode 100644 kern/drivers/dev/rijndael.tbl create mode 100644 kern/drivers/dev/sha2.c create mode 100644 kern/include/rijndael.h create mode 100644 kern/include/sha2.h https://github.com/rminnich/akaros/compare/rminnich:master...random -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
