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 ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

At <Zephyr>/boards/posix/native_posix/Kconfig.defconfig:28

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config FAKE_ENTROPY_NATIVE_POSIX
    bool
    default y
    depends on ENTROPY_GENERATOR && BOARD_NATIVE_POSIX

At <Zephyr>/drivers/entropy/Kconfig.native_posix:3

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:30<Zephyr>/drivers/entropy/Kconfig:19

Menu path: (Top) → Device Drivers → Entropy Drivers

config FAKE_ENTROPY_NATIVE_POSIX
    bool "Native posix entropy driver"
    select ENTROPY_HAS_DRIVER
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)