[Cryptography] Dieharder & symmetric cryptosystems

Michel Arboi michel.arboi at gmail.com
Wed Mar 23 10:56:52 EDT 2022


Le mer. 16 mars 2022 à 07:14, Ray Dillinger <bear at sonic.net> a écrit :
> This indicates to me that there is some problem in the way this
> particular test is implemented, entirely separate from any problem with /dev/urandom.

> $ cat /dev/urandom | dieharder -g200 -d201 -k2 -Y1;

Good catch! I did not notice that.

By the way, I just saw that the old 64-bits bug is still present on
Ubuntu 20.04.4.  Generators 500 and 501 consistently fail on some
tests (e.g. dieharder -g 501 -d 11) while "cat /dev/urandom |
dieharder -g 200 -d 11" passes.
Recompiling from sources will not change the result, you have to apply
this patch first:
https://packages.hetzner.com/gentoo/portage/app-crypt/dieharder/files/dieharder-3.31.1-urandom-64bit.patch
https://kacabenggala.uny.ac.id/gentoo-portage/app-crypt/dieharder/files/dieharder-3.31.1-urandom-64bit.patch


More information about the cryptography mailing list