blob: 7f08fa25fbf7858d78ae431cb75437583c2df49d [file] [log] [blame]
config BR2_PACKAGE_RNG_TOOLS
bool "rng-tools"
# pthread_setaffinity_np
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_USE_MMU # libcap
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LIBCAP
select BR2_PACKAGE_OPENSSL
help
Daemon to use hardware random number generators.
https://github.com/nhorman/rng-tools
if BR2_PACKAGE_RNG_TOOLS
config BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY
bool "Jitterentropy Library support"
default y
select BR2_PACKAGE_JITTERENTROPY_LIBRARY
help
Enable Jitterentropy Library support.
The Jitter RNG provides a noise source using the CPU
execution timing jitter. It does not depend on any
system resource other than a high-resolution time stamp.
config BR2_PACKAGE_RNG_TOOLS_NISTBEACON
bool "NIST Entropy Beacon support"
select BR2_PACKAGE_JANSSON
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBXML2
help
Enable NIST Entropy Beacon support.
Entropy gathered from the NIST network entropy beacon. Note
that this entropy source is disabled by default as it should
never be used for cryptographic purposes, or any use case in
which random data should be known only by a single entity.
config BR2_PACKAGE_RNG_TOOLS_QRYPT
bool "Qrypt Entropy Beacon support"
select BR2_PACKAGE_JANSSON
select BR2_PACKAGE_LIBCURL
help
Enable Qrypt NIST-Beacon like entropy support.
Entropy gathered from Qrypt server based entropy beacons. Like
NIST, it should likely not be used directly in cryptographic
operation, as the entropy may be intercepted over a network,
but can provide copius amounts of entropy for non-crypto
purposes.
endif
comment "rng-tools needs a toolchain w/ NPTL"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL