A Fast Hardware Pseudorandom Number Generator Based on xoroshiro128

03/08/2022
by   James Hanlon, et al.
0

The Graphcore Intelligent Processing Unit contains an original pseudorandom number generator (PRNG) called xoroshiro128aox, based on the F2-linear generator xoroshiro128. It is designed to be cheap to implement in hardware and provide high-quality statistical randomness. In this paper, we present a rigorous assessment of the generator's quality using standard statistical test suites and compare the results with the fast contemporary PRNGs xoroshiro128+, pcg64 and philox4x32-10. We show that xoroshiro128aox mitigates the known weakness in the lower order bits of xoroshiro128+ with a new 'AOX' output function by passing the BigCrush and PractRand suites, but we note that the function is not provably uniform. We focus our testing with specific tests for linear artefacts to highlight the weaknesses of both xoroshiro128 PRNGs, but conclude that they are hard to detect, and xoroshiro128aox otherwise provides an excellent trade off between statistical quality and hardware implementation cost.

READ FULL TEXT

page 8

page 10

research
05/08/2017

A revision of the subtract-with-borrow random number generators

The most popular and widely used subtract-with-borrow generator, also kn...
research
03/23/2019

On testing pseudorandom generators via statistical tests based on the arcsine law

Testing the quality of pseudorandom number generators is an important is...
research
06/30/2020

Firmware Insider: Bluetooth Randomness is Mostly Random

Bluetooth chips must include a Random Number Generator (RNG). This RNG i...
research
09/06/2020

Randomness Concerns When Deploying Differential Privacy

The U.S. Census Bureau is using differential privacy (DP) to protect con...
research
06/07/2022

A novel statistical approach for two-sample testing based on the overlap coefficient

Here we propose a new nonparametric framework for two-sample testing, na...
research
05/03/2018

Scrambled Linear Pseudorandom Number Generators

Linear pseudorandom number generators are very popular due to their high...
research
03/22/2019

A Random Number Generator Built from Repurposed Hardware in Embedded Systems

Quality randomness is fundamental to cryptographic operations but on emb...

Please sign up or login with your details

Forgot password? Click here to reset