Go to file
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
linux Use /dev/urandom on Linux. 2016-04-06 14:21:02 +03:00
mbed-client-randlib Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00
source Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00
test/mbed-client-randlib/unittest Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00
.gitignore Update build rules for NS based build. 2015-07-13 17:43:16 +03:00
.mbedignore Ignore test and linux folders in mbed classic build 2016-05-24 18:12:53 +03:00
LICENSE Changed LICENSE.txt to LICENSE 2015-09-02 12:31:47 +03:00
Makefile Fix checking if we are compiling for Linux. 2016-04-07 17:05:50 +03:00
apache-2.0.txt licence and copyrights updated 2015-08-03 13:53:57 +03:00
module.json version v1.1.0 2016-03-23 21:26:20 +02:00