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_ENTROPY_NRF5_BIAS_CORRECTION

Enable bias correction (uniform distribution)

Type: bool

Help

This option enables the RNG bias correction, which guarantees a uniform distribution of 0 and 1. When this option is enabled, the time to generate a byte cannot be guaranteed.

Direct dependencies

ENTROPY_NRF5_RNG && ENTROPY_GENERATOR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At drivers/entropy/Kconfig.nrf5:27

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:28drivers/entropy/Kconfig:17

Menu path: (Top) → Device Drivers → Entropy Drivers → nRF5 RNG driver

config ENTROPY_NRF5_BIAS_CORRECTION
    bool "Enable bias correction (uniform distribution)"
    depends on ENTROPY_NRF5_RNG && ENTROPY_GENERATOR
    help
      This option enables the RNG bias correction, which guarantees a
      uniform distribution of 0 and 1. When this option is enabled, the time
      to generate a byte cannot be guaranteed.

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