Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH] Documentation: hw_random: Fix issue related to feeding entropy pool
@ 2017-08-22 16:15 PrasannaKumar Muralidharan
  2017-09-22  9:17 ` Herbert Xu
  0 siblings, 1 reply; 3+ messages in thread
From: PrasannaKumar Muralidharan @ 2017-08-22 16:15 UTC (permalink / raw)
  To: herbert, corbet, linux-crypto, linux-doc; +Cc: 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.

Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
---
 Documentation/hw_random.txt | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Documentation/hw_random.txt b/Documentation/hw_random.txt
index 121de96..46b2480 100644
--- a/Documentation/hw_random.txt
+++ b/Documentation/hw_random.txt
@@ -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
 ===================
 
-- 
2.10.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: hw_random: Fix issue related to feeding entropy pool
  2017-08-22 16:15 [PATCH] Documentation: hw_random: Fix issue related to feeding entropy pool PrasannaKumar Muralidharan
@ 2017-09-22  9:17 ` Herbert Xu
  2017-09-22  9:29   ` PrasannaKumar Muralidharan
  0 siblings, 1 reply; 3+ messages in thread
From: Herbert Xu @ 2017-09-22  9:17 UTC (permalink / raw)
  To: PrasannaKumar Muralidharan
  Cc: corbet, linux-crypto, linux-doc, prasannatsmkumar

PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> wrote:
> 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.
> 
> Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>

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,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: hw_random: Fix issue related to feeding entropy pool
  2017-09-22  9:17 ` Herbert Xu
@ 2017-09-22  9:29   ` PrasannaKumar Muralidharan
  0 siblings, 0 replies; 3+ messages in thread
From: PrasannaKumar Muralidharan @ 2017-09-22  9:29 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Jonathan Corbet, linux-crypto, linux-doc

Hi Herbert,

On 22 September 2017 at 14:47, Herbert Xu <herbert@gondor.apana.org.au> wrote:
> PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> wrote:
>> 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.
>>
>> Signed-off-by: PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
>
> 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.

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-22  9:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-22 16:15 [PATCH] Documentation: hw_random: Fix issue related to feeding entropy pool PrasannaKumar Muralidharan
2017-09-22  9:17 ` Herbert Xu
2017-09-22  9:29   ` PrasannaKumar Muralidharan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox