#107 updated rngd TPM patch

closed-accepted
Jeff Garzik
None
5
2010-07-04
2009-10-20
Matt Domsch
No

I took the time to clean up the patch, and test it on a Dell PowerEdge R610
with the TPM enabled in BIOS SETUP. This works as expected, drawing from both
/dev/hw_random (if present), and /dev/tpm0 (if present), and failing only if
neither are present.

In testing, I can see the entropy pool shrinking by 128 bytes every time I
cat /proc/sys/kernel/random/entropy_avail
and growing again by the amount specified in -W every -t timeout period, on a
system with no other /dev/hw_random, using only /dev/tpm0.

Discussion

  • Matt Domsch
    Matt Domsch
    2009-10-20

    rngd-2.0-use-tpm.patch

     
  • Jeff Garzik
    Jeff Garzik
    2010-07-04

    • assigned_to: nobody --> jgarzik
    • status: open --> closed-accepted