This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_XOROSHIRO_RANDOM_GENERATOR

Use Xoroshiro128+ as PRNG

Type: bool

Help

Enables the Xoroshiro128+ pseudo-random number generator, that uses the entropy driver as a seed source. This is a fast non-cryptographically secure random number generator.

It is so named because it uses 128 bits of state.

Direct dependencies

ENTROPY_HAS_DRIVER && <choice RNG_GENERATOR_CHOICE: Random generator>

(Includes any dependencies from ifs and menus.)

Kconfig definition

At subsys/random/Kconfig:46

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:46

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

config XOROSHIRO_RANDOM_GENERATOR
    bool "Use Xoroshiro128+ as PRNG"
    depends on ENTROPY_HAS_DRIVER && <choice RNG_GENERATOR_CHOICE: Random generator>
    help
      Enables the Xoroshiro128+ pseudo-random number generator, that uses
      the entropy driver as a seed source.  This is a fast non-cryptographically
      secure random number generator.

      It is so named because it uses 128 bits of state.

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