Documentation: hw_random: Fix issue related to feeding entropy pool
Subsystems (2)
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
@@ -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
Herbert Xu
maintainerQuoted 5 lines · PrasannaKumar Muralidharan
There is no need to use rng-tools for feeding random data into kernel entropy pool as
hw_randomcore handles it. Documentation suggested that rng-tools is required which is incorrect. So remove it.Signed-off-by PrasannaKumar Muralidharan <[email protected]>
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
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_randomcore handles it. Documentation suggested that rng-tools is required which is incorrect. So remove it.Signed-off-by PrasannaKumar Muralidharan <[email protected]>Hmm, the tool still exists and can still be used to feed
/dev/random.Feeding
/dev/randomdirectly 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/randomas 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