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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/random/Kconfig:8

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:30

Menu path: (top menu)

config TEST_RANDOM_GENERATOR
    bool
    prompt "Non-random number generator" if !ENTROPY_HAS_DRIVER
    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.

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