From 8610c955870005b0718cce4dd1db4fc61b57013b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 12 Jan 2021 10:55:57 +0000 Subject: [PATCH] kernel: Trust the randomness from the CPU This will allow the kernel to seed its CRNG using RDSEED or RDRAND. During the boot process, it is required that the CRNG is being initialised, but it may take some long time on systems that do not have a random number generator. This is the default for various other distributions like Debian. Signed-off-by: Arne Fitzenreiter Signed-off-by: Michael Tremer --- config/kernel/kernel.config.i586-ipfire | 2 +- config/kernel/kernel.config.x86_64-ipfire | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.config.i586-ipfire index 0903d48d62..1dbc6ba676 100644 --- a/config/kernel/kernel.config.i586-ipfire +++ b/config/kernel/kernel.config.i586-ipfire @@ -3468,7 +3468,7 @@ CONFIG_HANGCHECK_TIMER=m # CONFIG_XILLYBUS is not set # end of Character devices -# CONFIG_RANDOM_TRUST_CPU is not set +CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDOM_TRUST_BOOTLOADER is not set # diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire index deda2add82..cb9a806d5d 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -3433,7 +3433,7 @@ CONFIG_HANGCHECK_TIMER=m # CONFIG_XILLYBUS is not set # end of Character devices -# CONFIG_RANDOM_TRUST_CPU is not set +CONFIG_RANDOM_TRUST_CPU=y # CONFIG_RANDOM_TRUST_BOOTLOADER is not set # -- 2.39.5