Skip to contentSkip to conversation

Documentation: hw_random: Fix issue related to feeding entropy pool

PATCH In review PrasannaKumar Muralidharan 2 participants 3 messages Aug 22, 2017 – Sep 22, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: hw_random: Fix issue related to feeding entropy pool

There is no need to use rng-tools for feeding random data into kernel entropy pool as hw_random core handles it. Documentation suggested that rng-tools is required which is incorrect. So remove it.

---
 Documentation/hw_random.txt | 4 ----
 1 file changed, 4 deletions(-)
Documentation/hw_random.txt +0 -4
index 121de96..46b2480 100644
@@ -19,10 +19,6 @@ hw_random driver's official Web site:
 
 	http://sourceforge.net/projects/gkernel/
 
-Those tools use /dev/hwrng to fill the kernel entropy pool,
-which is used internally and exported by the /dev/urandom and
-/dev/random special files.
-
 Theory of operation
 ===================
 
Signature · 1 line
2.10.0
maintainer
#1 lore raw
Quoted 5 lines · PrasannaKumar Muralidharan

There is no need to use rng-tools for feeding random data into kernel entropy pool as hw_random core handles it. Documentation suggested that rng-tools is required which is incorrect. So remove it.

Hmm, the tool still exists and can still be used to feed /dev/random.

Feeding /dev/random directly from the kernel is just one way of using hwrng.

So rather than removing it perhaps you can modify it to state that the kernel can now feed /dev/random as an option.

Cheers,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
#2 lore raw

Hi Herbert,

Quoted 11 lines · Herbert Xu
Quoted 5 lines · PrasannaKumar Muralidharan

There is no need to use rng-tools for feeding random data into kernel entropy pool as hw_random core handles it. Documentation suggested that rng-tools is required which is incorrect. So remove it.

Hmm, the tool still exists and can still be used to feed /dev/random.

Feeding /dev/random directly from the kernel is just one way of using hwrng.

But it is the default way.

Quoted 2 lines

So rather than removing it perhaps you can modify it to state that the kernel can now feed /dev/random as an option.

As it is not required I think stating it is going to create confusion. Users may not know whether rng-tools is optional or necessary for feeding kernel entropy pool.

Thanks,
PrasannaKumar