1# SPDX-License-Identifier: Apache-2.0 2 3config FAKE_ENTROPY_NATIVE_POSIX 4 bool "Native posix entropy driver" 5 default y 6 depends on DT_HAS_ZEPHYR_NATIVE_POSIX_RNG_ENABLED 7 select ENTROPY_HAS_DRIVER 8 help 9 This option enables the test random number generator for the 10 native_posix board (ARCH_POSIX). This is based on the host random() API. 11 Note that this entropy generator is only meant for test purposes and does 12 not generate real entropy. 13 It actually generates always the same sequence of random numbers if 14 initialized with the same seed. 15 16config FAKE_ENTROPY_NATIVE_POSIX_SEED_BY_DEFAULT 17 bool "Seed the generator by default" 18 default y 19 depends on FAKE_ENTROPY_NATIVE_POSIX 20 help 21 Apply a seed by default, even if the user does not request it through the command line. 22 Disabling this feature allows some other component to seed the host standard library random 23 generator without this component's default initialization interfering. 24