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.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At <Zephyr Subsystem>/random/Kconfig:8
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/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.)