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 && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY

(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.legacy:311

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:92<nrfxlib>/Kconfig.nrfxlib:13<nrfxlib>/nrf_security/Kconfig:111

Menu path: (Top) → Modules → nrfxlib (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib) → Nordic nrfxlib → nrf_security module → Legacy mbed TLS crypto APIs → Enable (legacy) mbed TLS crypto APIs

menuconfig NRF_SECURITY_RNG
    bool "Random Number Generator support" if !BUILD_WITH_TFM
    default y
    select MBEDTLS_SHA256_C
    depends on ENTROPY_HAS_DRIVER && MBEDTLS_LEGACY_CRYPTO_C && NRF_SECURITY
    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.)