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

!ENTROPY_HAS_DRIVER

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:49

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.)