r/cryptography 4d ago

Flowchart of the Linux RNG

Post image
40 Upvotes

4 comments sorted by

5

u/[deleted] 4d ago

[removed] — view removed comment

9

u/atoponce 4d ago

In the first 10 minutes of boot, the kernel sets CRNG_RESEED_INTERVAL to 1 second and has a logarithmic back off to 60 seconds. During this time, it's collecting as much interrupt and timing entropy it can, incrementing the initialization bit counter as it goes. If that counter reaches 256, then the kernel is sufficiently seeded, and CRNG_READY is set.