mbed-os/test/mbed-client-randlib/unittest/randlib
Kevin Bracey c78a2b5c8f Mix input to randLIB_add_seed calls
Don't just xor in the 64-bit number given, splitmix64 it across the entire
state. Also, make sure we don't accidentally set the state to all-zero.

RANDLIB_ASSUME_GOOD_SEED dropped - we now assume splitmix64 will be
present for the seed additions.

(Note that add_seed will be somewhat slow on platforms like MSP430 with
slow multipliers - don't call it too much.)
2016-10-21 12:37:37 +01:00
..
Makefile Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00
main.cpp randlib unit tested 2016-05-20 16:28:35 +03:00
randlibtest.cpp Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00
test_randlib.c Mix input to randLIB_add_seed calls 2016-10-21 12:37:37 +01:00
test_randlib.h Add local pseudo-RNG to randLIB 2016-10-18 09:23:32 +01:00