Skip to content
Commit 5a272b02 authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

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: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 1eed91f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment