Expand description
This tests an underlying 32-bit entropy generator and the library transformations between 8-bit and 32-bit entropy. To run this test, add this line to the imix boot sequence:
test::rng_test::run_entropy32();
This test takes a 32-bit entropy generator, puts its output into a 32-8 conversion to be an 8-bit generator, puts that output into an 8-to-32 conversion to be a 32-bit generator again, and makes this final 32-bit entropy source be the tested RNG. This therefore tests not only the underlying entropy source but also the conversion library.
The expected output is a series of random numbers that should be different on each invocation. Rigorous entropy tests are outside the scope of this test.