]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
kernel: Trust the randomness from the CPU
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 Jan 2021 10:55:57 +0000 (10:55 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Jul 2021 05:42:36 +0000 (07:42 +0200)
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 <arne.fitzenreiter@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/kernel/kernel.config.i586-ipfire
config/kernel/kernel.config.x86_64-ipfire

index 0903d48d628e96f6fa6bb8c69b085a5f42356f51..1dbc6ba6762565162a92415fb8a75c5c0eda85e0 100644 (file)
@@ -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
 
 #
index deda2add826c98e55bc848eacf2ddcb151fc2515..cb9a806d5d0f8613145a28b943905dcd475d29c0 100644 (file)
@@ -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
 
 #