News for hackers. Stuff that matters.
Re:Linux RNG RFC Patch: implement getrandom() in vDSO by 10000truths on Friday July 29, 2022 @02:10PM (#32280101)
Why not just have the kernel map a page containing random bytes, that it rewrites with newly seeded random bytes when needed? Then userspace CSPRNGs could use that as a basis for their own reseeding.
Re:Linux RNG RFC Patch: implement getrandom() in vDSO by quesomaster9000 on Friday July 29, 2022 @02:26PM (#32280252)
How often do you reseed?

How frequently does the kernel populate these pages with new entropy (for every process, pre-emptively?)

Does this avoid pagefaults or other process interrupts? Don't want process interrupting every time it accesses the 'magic page of random'.

Surely these are all pain points that Intel's `RDRAND` is supposed to alleviate.