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