[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails |
Date: |
Fri, 24 Jul 2020 07:40:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36 Edg/84.0.522.40 |
Follow-up Comment #23, bug #58800 (project octave):
If we always re-initialized with the same state, the sequence of numbers would
always be the same. As we have established, this is not what we want. (Always
re-initializing the random generator with the same state basically corresponds
to zero entropy.)
Later on we raised the requirements and wanted to have a "non-predictable"
sequence of random numbers. Even if that might not be easy, the PID and clock
at the time of initialization of the initial state can be guesstimated.
That is why we add some additional "entropy" from random_device.
While it might be that we add a little bit less entropy on Linux after the
change, 1024 bit should be more than enough if I correctly got Michael
Leitner's point.
The new approach is definitely better on Windows where we didn't add any
additional "entropy" before.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58800>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, (continued)
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Rik, 2020/07/23
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Hg200, 2020/07/23
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Rik, 2020/07/23
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Markus Mützel, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Michael Leitner, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Markus Mützel, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Markus Mützel, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Hg200, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Hg200, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Michael Leitner, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails,
Markus Mützel <=
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Markus Mützel, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Michael Leitner, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Michael Leitner, 2020/07/24
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Markus Mützel, 2020/07/25
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Hg200, 2020/07/25
- [Octave-bug-tracker] [bug #58800] BIST for rng sometimes fails, Markus Mützel, 2020/07/27