3 ms·
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 t
by 10000truths 4y ago
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.
- quesomaster9000 4y agoHow 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.