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) || (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:29

Included via Kconfig:10Kconfig.zephyr:21

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:3

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:28drivers/entropy/Kconfig:21

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

menuconfig FAKE_ENTROPY_NATIVE_POSIX
    bool
    prompt "Native posix entropy driver" if ARCH_POSIX && ENTROPY_GENERATOR
    select ENTROPY_HAS_DRIVER if ARCH_POSIX && ENTROPY_GENERATOR
    depends on 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.)