boards: riscv: rv32m1: use xoroshiro as default RNG
Don't use use the RV32M1 TRNG as a random source since it can be quite slow. Instead, use the software implemented xoroshiro RNG. Signed-off-by: David Leach <david.leach@nxp.com>
This commit is contained in:
parent
cb03eba697
commit
d65ddcd7d3
1 changed files with 6 additions and 0 deletions
|
@ -11,3 +11,9 @@ menuconfig ENTROPY_RV32M1_TRNG
|
|||
help
|
||||
This option enables the true random number generator (TRNG)
|
||||
driver based on the RV32M1 TRNG driver.
|
||||
|
||||
# Don't use use the RV32M1 TRNG as a random source since it can be quite slow.
|
||||
# Instead, use the software implemented xoroshiro RNG.
|
||||
choice RNG_GENERATOR_CHOICE
|
||||
default XOROSHIRO_RANDOM_GENERATOR if ENTROPY_RV32M1_TRNG
|
||||
endchoice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue