random: kconfig: Allow customizing timer initial state
Add a build option to allow changing the initial state used in the timer based random generator and by the kernel in the early random number generator. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
6c0fad2888
commit
a99a0700ba
|
@ -28,6 +28,14 @@ config TEST_RANDOM_GENERATOR
|
|||
device-backed random number generator, if available, will be selected by
|
||||
default even when CONFIG_TEST_RANDOM_GENERATOR=y.
|
||||
|
||||
config TIMER_RANDOM_INITIAL_STATE
|
||||
int "Initial state used by clock based number generator"
|
||||
default 123456789
|
||||
help
|
||||
Initial state value used by TIMER_RANDOM_GENERATOR and
|
||||
early random number genenator.
|
||||
|
||||
|
||||
choice RNG_GENERATOR_CHOICE
|
||||
prompt "Random generator"
|
||||
default ENTROPY_DEVICE_RANDOM_GENERATOR if ENTROPY_HAS_DRIVER
|
||||
|
|
Loading…
Reference in a new issue