|
|
Subscribe / Log in / New account

Fixing getrandom()

Fixing getrandom()

Posted Sep 28, 2019 19:52 UTC (Sat) by patrakov (subscriber, #97174)
In reply to: Fixing getrandom() by dd9jn
Parent article: Fixing getrandom()

Could you please submit some documental evidence of this approval? Asking because it would be the perfect response to the last paragraph in https://lore.kernel.org/lkml/CAHk-=whz7Okts01ygAP6GZWBvCV...


to post comments

Fixing getrandom()

Posted Sep 28, 2019 20:38 UTC (Sat) by joib (subscriber, #8541) [Link]

Probably the BSI cares only about x86(-64) Windows on cpu's supported by currently maintained Windows versions, so they can assume the presence of TSC? So it doesn't really address what seemed to be Linus main objection.

(Though in my non-expert opinion, it seems having a jitter entropy generator in the kernel for supported targets would be the least bad approach of those discussed here. Those few that run unsupported targets are hopefully sufficiently clueful that they can use a hw RNG, haveged, or maybe they don't need early boot random numbers anyway.)

Fixing getrandom()

Posted Oct 2, 2019 0:54 UTC (Wed) by mangix (guest, #126006) [Link]

FWIW OpenWrt master (and 19.07) uses this. It's faster than haveged.


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