| # mcux entropy generator driver configuration |
| # Copyright (c) 2016 ARM Ltd. |
| # SPDX-License-Identifier: Apache-2.0 |
| select ENTROPY_HAS_DRIVER |
| This option enables the random number generator accelerator (RNGA) |
| driver based on the MCUX RNGA driver. |
| select ENTROPY_HAS_DRIVER |
| This option enables the true random number generator (TRNG) |
| driver based on the MCUX TRNG driver. |
| select ENTROPY_HAS_DRIVER |
| This option enables the true random number generator (TRNG) |
| driver based on the MCUX RNG driver on LPC Family. |
| # Don't use use the MCUX TRNG as a random source as it is not designed |
| # to supply a continuous random stream. Instead, it is used to provide |
| # a seed to RNG generator. |
| # Use the software implemented xoroshiro RNG. |
| # Use CSPRNG for cryptographically secure RNG source. |
| choice RNG_GENERATOR_CHOICE |
| default XOSHIRO_RANDOM_GENERATOR if ENTROPY_MCUX_TRNG |
| choice CSPRNG_GENERATOR_CHOICE |
| default CTR_DRBG_CSPRNG_GENERATOR if ENTROPY_MCUX_TRNG |