Daemon to use a Hardware TRNG. The rngd daemon acts as a bridge between a Hardware TRNG (true random number generator) such as the ones in some Intel/AMD/VIA chipsets, and the kernel's PRNG (pseudo-random number generator).
- Started: 2012-01-28
- Discussed: 2012-01-30
- Draft Submitted: -
- Submitted: -
- Accepted: -
Here is the output of
grep -R PATH_MAX rng-tools-2-unofficial-mt.14/*:
viapadlock_engine.c:static char cpudev_path[PATH_MAX+1]; viapadlock_engine.c:char devpath[PATH_MAX+1];
Work in progress, see related thread.
Even if the PATH_MAX can be easily fixed, some problems remain.
The code uses
linux/types.h, that has to be replaced by
sys/types.h, but also uses
linux/random.h which has no equivalent I know of.
At least one source file is named after the OS: