|
|
Log in / Subscribe / Register

Problems emerge for a unified /dev/*random

Problems emerge for a unified /dev/*random

Posted Mar 29, 2022 23:50 UTC (Tue) by Hello71 (guest, #103412)
Parent article: Problems emerge for a unified /dev/*random

The article's claim that RNDADDTOENTCNT must be used to add entropy is incorrect, or at least incomplete. As explained in the mailing list thread, use of RNDADDTOENTCNT is highly discouraged, and the correct method to add entropy is to use the RNDADDENTROPY ioctl.


to post comments

Problems emerge for a unified /dev/*random

Posted Mar 30, 2022 1:54 UTC (Wed) by jake (editor, #205) [Link] (1 responses)

> the correct method to add entropy is to use the RNDADDENTROPY ioctl.

the article doesn't ignore that, but it perhaps takes a while to get there; it talks about it starting around here:

> The RNDADDENTROPY command combines the write and the credit in the same call, which
> allows the kernel to make a better decision on what do with it, he said.

jake

Problems emerge for a unified /dev/*random

Posted Mar 30, 2022 13:41 UTC (Wed) by Hello71 (guest, #103412) [Link]

Ah, you're right.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds