HomePhabricator

Add xoroshiro128++ PRNG

Description

Add xoroshiro128++ PRNG

Summary:
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 is a partial backport of core#26153
https://github.com/bitcoin/bitcoin/pull/26153/commits/5f05b27841af0bed1b6e7de5f46ffe33e5919e4d
Depends on D18819

Test Plan:
ninja all check-all

ubsan

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18820

Details

Provenance
Martin Leitner-Ankerl <martin.ankerl@gmail.com>Authored on Jun 10 2022, 06:49
PiRKCommitted on Thu, Oct 23, 17:41
PiRKPushed on Thu, Oct 23, 17:41
Reviewer
Restricted Project
Differential Revision
D18820: Add xoroshiro128++ PRNG
Parents
rABCa99060f3c126: Make unrestricted ChaCha20 cipher not waste keystream bytes
Branches
Unknown
Tags
Unknown

Event Timeline

PiRK committed rABC052ad93afbd7: Add xoroshiro128++ PRNG (authored by Martin Leitner-Ankerl <martin.ankerl@gmail.com>).Thu, Oct 23, 17:41