mbed-os/test/mbed-client-randlib/unittest
Kevin Bracey fce09a935b Add local pseudo-RNG to randLIB
Rather than using system rand(), provide our own pseudo-RNG.

Generator used is "xoroshiro128+", which has 16 bytes of state and
2^128-1 period.

Main advantage is that we can now seed with up to 128 bits of entropy,
rather than the 32 bits srand() limited us to. We also can be assured of
the quality of the algorithm.

As the core generator is 64-bit, we now provide a get 64-bit function,
and others are based on this.

Incorporate Linux's /dev/urandom use into the main source file.
2016-10-18 09:23:32 +01:00
..
randlib Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00
randlib_linux Implement unittests for Linux 2016-05-24 14:00:20 +03:00
stubs Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00
Makefile Fix file permissions. 2016-05-24 14:00:32 +03:00
MakefileWorker.mk Fix file permissions. 2016-05-24 14:00:32 +03:00
makefile_defines.txt Fix file permissions. 2016-05-24 14:00:32 +03:00
run_tests randlib unit tested 2016-05-20 16:28:35 +03:00