xref: /OK3568_Linux_fs/buildroot/package/rng-tools/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_RNG_TOOLS
2*4882a593Smuzhiyun	bool "rng-tools"
3*4882a593Smuzhiyun	# pthread_setaffinity_np
4*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
5*4882a593Smuzhiyun	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
6*4882a593Smuzhiyun	select BR2_PACKAGE_OPENSSL
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  Daemon to use hardware random number generators.
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	  http://sourceforge.net/projects/gkernel/
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunif BR2_PACKAGE_RNG_TOOLS
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY
15*4882a593Smuzhiyun	bool "Jitterentropy Library support"
16*4882a593Smuzhiyun	default y
17*4882a593Smuzhiyun	select BR2_PACKAGE_JITTERENTROPY_LIBRARY
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  Enable Jitterentropy Library support.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun	  The Jitter RNG provides a noise source using the CPU
22*4882a593Smuzhiyun	  execution timing jitter. It does not depend on any
23*4882a593Smuzhiyun	  system resource other than a high-resolution time stamp.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyunconfig BR2_PACKAGE_RNG_TOOLS_NISTBEACON
26*4882a593Smuzhiyun	bool "NIST Entropy Beacon support"
27*4882a593Smuzhiyun	select BR2_PACKAGE_JANSSON
28*4882a593Smuzhiyun	select BR2_PACKAGE_LIBCURL
29*4882a593Smuzhiyun	select BR2_PACKAGE_LIBXML2
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	  Enable NIST Entropy Beacon support.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun	  Entropy gathered from the NIST network entropy beacon. Note
34*4882a593Smuzhiyun	  that this entropy source is disabled by default as it should
35*4882a593Smuzhiyun	  never be used for cryptographic purposes, or any use case in
36*4882a593Smuzhiyun	  which random data should be known only by a single entity.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunendif
39*4882a593Smuzhiyun
40*4882a593Smuzhiyuncomment "rng-tools needs a toolchain w/ NPTL"
41*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
42