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>
5 lines
254 B
Makefile
5 lines
254 B
Makefile
obj-$(CONFIG_TIMER_RANDOM_GENERATOR) = rand32_timer.o
|
|
obj-$(CONFIG_X86_TSC_RANDOM_GENERATOR) += rand32_timestamp.o
|
|
obj-$(CONFIG_ENTROPY_DEVICE_RANDOM_GENERATOR) += rand32_entropy_device.o
|
|
obj-$(CONFIG_XOROSHIRO_RANDOM_GENERATOR) += rand32_xoroshiro128.o
|