CONFIG_TEST_RANDOM_GENERATOR

Non-random number generator

Type: bool

Help

This option signifies that the kernel's random number APIs are
permitted to return values that are not truly random.
This capability is provided for testing purposes, when a truly random
number generator is not available. The non-random number generator
should not be used in a production environment.

Direct dependencies

(NETWORKING && BOARD_QEMU_CORTEX_A9) || !ENTROPY_HAS_DRIVER

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols that select this symbol

Kconfig definitions

At <Zephyr>/boards/arm/qemu_cortex_a9/Kconfig.defconfig:66

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

Menu path: (Top)

config TEST_RANDOM_GENERATOR
    bool
    default y
    depends on NETWORKING && BOARD_QEMU_CORTEX_A9

At <Zephyr>/subsys/random/Kconfig:8

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:53

Menu path: (Top) → Sub Systems and OS Services → Random Number Generators

config TEST_RANDOM_GENERATOR
    bool "Non-random number generator"
    depends on !ENTROPY_HAS_DRIVER
    help
      This option signifies that the kernel's random number APIs are
      permitted to return values that are not truly random.
      This capability is provided for testing purposes, when a truly random
      number generator is not available. The non-random number generator
      should not be used in a production environment.

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