2019-04-06 15:08:09 +02:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-10-22 01:04:04 +02:00
|
|
|
config FAKE_ENTROPY_NATIVE_POSIX
|
2018-02-11 10:34:33 +01:00
|
|
|
bool "Native posix entropy driver"
|
2022-07-22 08:40:12 +02:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ZEPHYR_NATIVE_POSIX_RNG_ENABLED
|
2018-02-11 10:34:33 +01:00
|
|
|
select ENTROPY_HAS_DRIVER
|
|
|
|
help
|
2018-05-16 17:25:13 +02:00
|
|
|
This option enables the test random number generator for the
|
2018-02-11 10:34:33 +01:00
|
|
|
native_posix board (ARCH_POSIX). This is based on the host random() API.
|
2018-05-16 17:25:13 +02: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.
|