Add xoroshiro128++ PRNG

Xoroshiro128++ is a fast non-cryptographic random generator.
Reference implementation is available at https://prng.di.unimi.it/

Co-Authored-By: Pieter Wuille <pieter@wuille.net>
This commit is contained in:
Martin Leitner-Ankerl
2022-06-10 08:49:35 +02:00
committed by Pieter Wuille
parent 12ff72476a
commit 5f05b27841
5 changed files with 106 additions and 2 deletions

View File

@@ -18,7 +18,8 @@ TEST_UTIL_H = \
test/util/str.h \
test/util/transaction_utils.h \
test/util/txmempool.h \
test/util/validation.h
test/util/validation.h \
test/util/xoroshiro128plusplus.h
if ENABLE_WALLET
TEST_UTIL_H += wallet/test/util.h