2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-05-16 23:25:13 +08:00
|
|
|
menuconfig FAKE_ENTROPY_NATIVE_POSIX
|
2018-02-11 17:34:33 +08:00
|
|
|
bool "Native posix entropy driver"
|
2019-03-07 16:31:33 +08:00
|
|
|
depends on ARCH_POSIX
|
2018-02-11 17:34:33 +08:00
|
|
|
select ENTROPY_HAS_DRIVER
|
|
|
|
help
|
2018-05-16 23:25:13 +08:00
|
|
|
This option enables the test random number generator for the
|
2018-02-11 17:34:33 +08:00
|
|
|
native_posix board (ARCH_POSIX). This is based on the host random() API.
|
2018-05-16 23:25:13 +08:00
|
|
|
Note that this entropy generator is only meant for test purposes and does
|
|
|
|
not generate real entropy.
|
|
|
|
It actually generates always the same sequence of random numbers if
|
|
|
|
initialized with the same seed.
|