lkml.org 
[lkml]   [2019]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v25 12/12] LRNG - add interface for gathering of raw entropy
From
Date
Hi,

On 11/16/19 1:38 AM, Stephan Müller wrote:
> diff --git a/drivers/char/lrng/Kconfig b/drivers/char/lrng/Kconfig
> index e6ca3acc1e48..4ccc710832ef 100644
> --- a/drivers/char/lrng/Kconfig
> +++ b/drivers/char/lrng/Kconfig
> @@ -169,4 +169,20 @@ config LRNG_APT_CUTOFF
> default 325 if !LRNG_APT_BROKEN
> default 32 if LRNG_APT_BROKEN
>
> +config LRNG_TESTING
> + bool "Enable entropy test interface to LRNG noise source"
> + select CONFIG_DEBUG_FS

That should be spelled as DEBUG_FS and preferably would be "depends on"
instead of 'select'.


> + help
> + The test interface allows a privileged process to capture
> + the raw unconditioned noise that is collected by the LRNG
> + for statistical analysis. Extracted noise data is not used
> + to seed the LRNG.
> +
> + The raw noise data can be obtained using the lrng_raw
> + debugfs file. Using the option lrng_testing.boot_test=1
> + the raw noise of the first 1000 entropy events since boot
> + can be sampled.
> +
> + If unsure, say N.
> +
> endif # LRNG

thanks.
--
~Randy

\
 
 \ /
  Last update: 2019-11-19 18:19    [W:0.495 / U:27.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site