2013-10-20 19:37:56 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:14:53 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2013-10-20 19:37:56 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
config EXAMPLES_RANDOM
|
2018-09-03 17:29:56 +02:00
|
|
|
tristate "/dev/random test"
|
2013-10-20 19:37:56 +02:00
|
|
|
default n
|
|
|
|
depends on DEV_RANDOM
|
|
|
|
---help---
|
|
|
|
Enable a simple test of /dev/random
|
|
|
|
|
|
|
|
if EXAMPLES_RANDOM
|
|
|
|
|
|
|
|
config EXAMPLES_MAXSAMPLES
|
|
|
|
int "I/O buffer size"
|
|
|
|
default 64
|
|
|
|
---help---
|
|
|
|
This is the size of the /dev/random I/O buffer in units of 32-bit
|
|
|
|
samples. Careful! This buffer is allocated on the stack as needed!
|
|
|
|
|
2017-10-06 23:13:00 +02:00
|
|
|
config EXAMPLES_NSAMPLES
|
2013-10-20 19:37:56 +02:00
|
|
|
int "Default samples"
|
|
|
|
default 8
|
|
|
|
---help---
|
|
|
|
When you execute the rand command, a number of samples ranging from
|
|
|
|
1 to EXAMPLES_MAXSAMPLES may be specified. If no argument is
|
|
|
|
specified, this is the default number of samples that will be
|
|
|
|
collected and displayed.
|
|
|
|
|
|
|
|
endif
|