2014 Linux Symposium, July 14-16

Feeding /dev/random on limited systems

Sandy Harris (sandyinchina@gmail.com)

I propose a demon process maxwell(8) which gathers entropy from timer calls, distills in into a concentrated form, and sends it to the kernel random(4) device. The program is small and does not require large resources. The entropy output is of high quality. The output rate varies with the parameters chosen; with the defaults it is about six kilobits per second, which is enough for many applications.

The paper also discusses several other solutions to the same problem, any of which is preferable to mine in some circumstances. My solution is aimed mainly at limited systems where the others may not be usable -- phones, routers and other embedded applications.

Policies   |   Media Archives