urng: add micro non-physical true RNG based on timing jitter
authorPetr Štetiar <ynezz@true.cz>
Mon, 20 May 2019 12:02:20 +0000 (14:02 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 11 Jun 2019 06:06:28 +0000 (08:06 +0200)
commit714bd89fceee494282984d0ed76e4a3acde419e0
tree77db2fe4ccdd5c9b7324bbb5c60e8fe945e444d5
parentc53f62b1113459ade21f9540a41db66570097a7f
urng: add micro non-physical true RNG based on timing jitter

μrngd is OpenWrt's micro non-physical true random number generator based
on timing jitter.

Using the Jitter RNG core, the rngd provides an entropy source that
feeds into the Linux /dev/random device if its entropy runs low. It
updates the /dev/random entropy estimator such that the newly provided
entropy unblocks /dev/random.

The seeding of /dev/random also ensures that /dev/urandom benefits from
entropy. Especially during boot time, when the entropy of Linux is low,
the Jitter RNGd provides a source of sufficient entropy.

Tested-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/system/urngd/Makefile [new file with mode: 0644]
package/system/urngd/files/urngd.init [new file with mode: 0644]