Displaying 5 results from an estimated 5 matches for "xoshiro256".
2018 Dec 28
2
[PATCH v2 nbdkit] common: Improve pseudo-random number generation.
v2:
- Fix seeding.
- Add a test that nbdkit-random-plugin is producing something
which looks at least somewhat random.
Rich.
2018 Dec 31
1
Re: [PATCH v2 nbdkit] common: Improve pseudo-random number generation.
...a home-brew-ish
> Linear Congruential Generator. Use of random_r is problematic on BSDs
> because it doesn't exist there. Use of the LCG is simply a bad
> choice.
>
> Replace both uses with a better quality and faster PRNG from David
> Blackman and Sebastiano Vigna called ‘xoshiro256** 1.0’
> (http://xoshiro.di.unimi.it/). This is released into the public
> domain (where possible) so it compatible with the licensing of nbdkit.
>
> This also fixes a bug in the random plugin where it could never
> generate the byte 255 because I used modulo 255 instead of modulo...
2018 Dec 28
1
[PATCH nbdkit] common: Improve pseudo-random number generation.
...e have used either random_r or a home-brew-ish
Linear Congruential Generator. Use of random_r is problematic on BSDs
because it doesn't exist there. Use of the LCG is simply a bad
choice.
Replace both uses with a better quality and faster PRNG from David
Blackman and Sebastiano Vigna called ‘xoshiro256** 1.0’
(http://xoshiro.di.unimi.it/). This is licensed under a public-domain
license so it compatible with the licensing of nbdkit.
This also fixes a bug in the random plugin where it could never
generate the byte 255 because I used modulo 255 instead of modulo 256
arithmetic. Ooops.
---
plugin...
2018 Dec 28
0
[PATCH v2 nbdkit] common: Improve pseudo-random number generation.
...e have used either random_r or a home-brew-ish
Linear Congruential Generator. Use of random_r is problematic on BSDs
because it doesn't exist there. Use of the LCG is simply a bad
choice.
Replace both uses with a better quality and faster PRNG from David
Blackman and Sebastiano Vigna called ‘xoshiro256** 1.0’
(http://xoshiro.di.unimi.it/). This is released into the public
domain (where possible) so it compatible with the licensing of nbdkit.
This also fixes a bug in the random plugin where it could never
generate the byte 255 because I used modulo 255 instead of modulo 256
arithmetic. Ooops....
2019 Jan 18
0
ANNOUNCE: nbdkit 1.10 - an NBD server toolkit with stable plugin API and permissive license
...rtial plugin names are
expanded correctly, and plugin parameters containing '-' work.
- Public header files can now be consumed by ISO C90 compilers (but
GCC or Clang is still required to compile nbdkit itself).
- A better non-cryptographically secure pseudo-random number generator
(xoshiro256** 1.0) is now used on all platforms, replacing previous
uses of random(3).
- Fuzzing using American Fuzzy Lop is now supported, and was carried
out, resulting in one error being found in the server (not security
related).
- New nbdkit-xz-filter: This replaces nbdkit-xz-plugin which will be...