Skip to content

bjencks/rngd-rdrand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rgnd-rdrand

A simple rngd to collect entropy from Intel's Bull Mountain hwrng using the rdrand instruction and feed it to the kernel's /dev/random pool.

It also throws a bit of extra entropy into /dev/urandom, because rdrand is so cheap so why not?

Building

$ make

Usage

Run as root. It takes no arguments and doesn't fork, so it's easy to run under upstart.

To do

  • Find out what capabilities are required and drop to non-root
  • Runtime configuration?
  • Performance: If there's lots of room in the entropy pool, make one bigger buffer with more entropy rather than repeatedly adding. That syscall is the slowest part of the program.

About

rdrand entropy collector for Ivy Bridge and later

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages