Re: randomization

2023-05-25 Thread Barry
> On 26 May 2023, at 05:18, Michael Hennebry > wrote: > > My understanding is that urandom will never run out > because it is an interface to a pseudorandom number generator. > random gets its data from a hardware random number pool. > Correct? The detail is covered in articles on lwn.net., s

Re: randomization

2023-05-25 Thread Bill C
I believe entropy is somehow obtained from the hardware. On Fri, May 26, 2023, 12:18 AM Michael Hennebry < henne...@web.cs.ndsu.nodak.edu> wrote: > On Thu, 25 May 2023, Chris Adams wrote: > > > There's also /dev/urandom (which should never "run out" of randomness), > > but IIRC they're the basica

Re: randomization

2023-05-25 Thread Michael Hennebry
On Thu, 25 May 2023, Chris Adams wrote: There's also /dev/urandom (which should never "run out" of randomness), but IIRC they're the basically same now and neither will block (except possibly during boot). My understanding is that urandom will never run out because it is an interface to a pseu

Re: randomization

2023-05-25 Thread Bill Cunningham
On 5/25/2023 10:19 PM, Jeffrey Walton wrote: ... You should use /dev/urandom nowadays, not /dev/random. According to Theodore Ts'o on the Linux Kernel Crypto mailing list, /dev/random has been deprecated for a decade. From Re: [RFC PATCH v12 3/4] Linux Random Number Generator:[1] Practically

Re: randomization

2023-05-25 Thread Bill Cunningham
On 5/25/2023 10:24 PM, Chris Adams wrote: Once upon a time, Samuel Sieb said: On 5/25/23 18:18, Bill Cunningham wrote:     How would you access randomization at the system level? No via srand or rand, but the randomization the system offers through /dev/random. Would this be a fedora level s

Re: randomization

2023-05-25 Thread Chris Adams
Once upon a time, Samuel Sieb said: > On 5/25/23 18:18, Bill Cunningham wrote: > >     How would you access randomization at the system level? No > >via srand or rand, but the randomization the system offers through > >/dev/random. Would this be a fedora level system call ? > > > >     I intend to

Re: randomization

2023-05-25 Thread Jeffrey Walton
On Thu, May 25, 2023 at 9:18 PM Bill Cunningham wrote: > > How would you access randomization at the system level? No via > srand or rand, but the randomization the system offers through > /dev/random. Would this be a fedora level system call ? > > I intend to take a 512 or 1024, for exa

Re: randomization

2023-05-25 Thread Samuel Sieb
On 5/25/23 18:18, Bill Cunningham wrote:     How would you access randomization at the system level? No via srand or rand, but the randomization the system offers through /dev/random. Would this be a fedora level system call ?     I intend to take a 512 or 1024, for example, size chunk and f

randomization

2023-05-25 Thread Bill Cunningham
    How would you access randomization at the system level? No via srand or rand, but the randomization the system offers through /dev/random. Would this be a fedora level system call ?     I intend to take a 512 or 1024, for example, size chunk and fill that with system randomization. Not wha