Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: regarding the changes to kernel entropy gathering



On Tue, 6 Apr 2021, RVP wrote:

On Tue, 6 Apr 2021, Taylor R Campbell wrote:

Why do you say that?  We do incorporate many sources that are not
well-studied -- every keystroke, for example, and the CPU cycle
counter at the time of the keystroke, affects the output of
/dev/urandom.


Is the output of /dev/random also influenced like this?


Ah, no need to answer this: it's already in rnd(4):

     The operating system continuously makes observations of hardware
     devices, such as network packet timings, disk seek delays,
     and keystrokes.  The observations are combined into a seed
     for a cryptographic pseudorandom number generator (PRNG) which
     is used to generate the outputs of both /dev/random and
     /dev/urandom.

-RVP


Home | Main Index | Thread Index | Old Index