[Mirror] Micro non-physical true random number generator based on timing jitter
Hauke Mehrtens 44365eb1e1 Deactivate _FORTIFY_SOURCE in jitterentropy-base.c | hai 1 ano | |
---|---|---|
3rdparty | hai 1 ano | |
cmake | %!s(int64=5) %!d(string=hai) anos | |
.gitignore | %!s(int64=5) %!d(string=hai) anos | |
.gitlab-ci.yml | %!s(int64=5) %!d(string=hai) anos | |
.gitmodules | %!s(int64=5) %!d(string=hai) anos | |
CMakeLists.txt | hai 1 ano | |
Makefile | %!s(int64=5) %!d(string=hai) anos | |
README.md | %!s(int64=5) %!d(string=hai) anos | |
log.h | %!s(int64=5) %!d(string=hai) anos | |
urngd.c | %!s(int64=4) %!d(string=hai) anos |
μ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.