commit | 5a272b027a3bf3566502cf076a62b92ebaca28de | [log] [tgz] |
---|---|---|
author | Leandro Pereira <leandro.pereira@intel.com> | Fri Oct 13 17:07:53 2017 -0700 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Nov 01 08:26:29 2017 -0400 |
tree | 5480c295a8466d24aa089442aaf5fcde028ab2f3 | |
parent | 1eed91f024458cd33e4792b3518e7d42125652c7 [diff] |
subsys/random: Add Xoroshiro128+ PRNG This adds an implementation of Xoroshiro128+ PRNG, based on the original implementation at [1]. This pseudorandom number generator will use the entropy driver to obtain the seed. While it uses only 128 bits of state, it's pretty robust for non-crypto safe applications. [1] http://vigna.di.unimi.it/xorshift/xoroshiro128plus.c Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>