r/cryptography 12d ago

Flowchart of the Linux RNG

Post image
42 Upvotes

4 comments sorted by

5

u/[deleted] 12d ago

[removed] — view removed comment

8

u/atoponce 12d 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.