CONFIG_NRF_SECURITY_RNG

Random Number Generator support

Type: bool

Help

The Random Number Generator support in nRF Security provides a Pseudorandom Number Generator, PRNG. The Pseudorandom Number Generator is seeded by a True Random Number Generator, TRNG, available in hardware.

Direct dependencies

ENTROPY_HAS_DRIVER && NRF_SECURITY_ANY_BACKEND && NORDIC_SECURITY_BACKEND

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Symbols that select this symbol

Kconfig definition

At <nrfxlib>/nrf_security/Kconfig:215

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:14<nrfxlib>/Kconfig.nrfxlib:13

Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → Nordic Security → Use Nordic provided security backend

menuconfig NRF_SECURITY_RNG
    bool "Random Number Generator support"
    default y
    select MBEDTLS_SHA256_C
    depends on ENTROPY_HAS_DRIVER && NRF_SECURITY_ANY_BACKEND && NORDIC_SECURITY_BACKEND
    help
      The Random Number Generator support in nRF Security provides a
      Pseudorandom Number Generator, PRNG.
      The Pseudorandom Number Generator is seeded by a True Random Number
      Generator, TRNG, available in hardware.

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