CONFIG_FAKE_ENTROPY_NATIVE_POSIX

Native posix entropy driver

Type: bool

Help

This option enables the test random number generator for the native_posix board (ARCH_POSIX). This is based on the host random() API. 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.

Direct dependencies

(ENTROPY_GENERATOR && BOARD_NATIVE_POSIX) || (ENTROPY_GENERATOR && ARCH_POSIX && ENTROPY_GENERATOR)

(Includes any dependencies from if’s and menus.)

Defaults

Symbols selected by this symbol

Kconfig definitions

At boards/posix/native_posix/Kconfig.defconfig:28

Included via Kconfig:10Kconfig.zephyr:19

Menu path: (top menu)

config FAKE_ENTROPY_NATIVE_POSIX
    bool
    default "y" if ENTROPY_GENERATOR && BOARD_NATIVE_POSIX
    depends on ENTROPY_GENERATOR && BOARD_NATIVE_POSIX

At drivers/entropy/Kconfig.native_posix:2

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:28drivers/entropy/Kconfig:20

Menu path: (top menu) → Device Drivers → Entropy Drivers

menuconfig FAKE_ENTROPY_NATIVE_POSIX
    bool
    prompt "Native posix entropy driver" if ENTROPY_GENERATOR && ARCH_POSIX && ENTROPY_GENERATOR
    select ENTROPY_HAS_DRIVER if ENTROPY_GENERATOR && ARCH_POSIX && ENTROPY_GENERATOR
    depends on ENTROPY_GENERATOR && ARCH_POSIX && ENTROPY_GENERATOR
    help
      This option enables the test random number generator for the
      native_posix board (ARCH_POSIX). This is based on the host random() API.
      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.

(Definitions include propagated dependencies, including from if’s and menus.)