Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1491980

Re: [v2] RANDOM: ATH9K RNG delivers zero bits of entropy

From Stephan Mueller <smueller@chronox.de>
Newsgroups linux.kernel
Subject Re: [v2] RANDOM: ATH9K RNG delivers zero bits of entropy
Date 2016-09-27 17:20 +0200
Message-ID <sm2kO-2EY-9@gated-at.bofh.it> (permalink)
References <s3sIN-1Y7-5@gated-at.bofh.it> <sm1RL-2fQ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Am Dienstag, 27. September 2016, 16:44:16 CEST schrieb Kalle Valo:

Hi Kalle,

> Stephan Mueller <smueller@chronox.de> wrote:
> > The ATH9K driver implements an RNG which is completely bypassing the
> > standard Linux HW generator logic.
> > 
> > The RNG may or may not deliver entropy. Considering the conservative
> > approach in treating entropy with respect to non-auditable sources, this
> > patch changes the delivered entropy value to zero. The RNG still feeds
> > data into the input_pool but it is assumed to have no entropy.
> > 
> > When the ATH9K RNG changes to use the HW RNG framework, it may re-enable
> > the entropy estimation considering that a user can change that value at
> > boot and runtime.
> > 
> > Reviewed-by: Jason Cooper <jason@lakedaemon.net>
> > Signed-off-by: Stephan Mueller <smueller@chronox.de>
> 
> Based on the discussion I'm dropping this patch. But the discussion was
> hard to follow so please let me know if I misunderstood.

I guess the rejection is appropriate, but something needs to be done: 
add_hwgenerator_randomness should not be used in this scenario.
> 
> Patch set to Rejected.



Ciao
Stephan

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [v2] RANDOM: ATH9K RNG delivers zero bits of entropy Kalle Valo <kvalo@qca.qualcomm.com> - 2016-09-27 16:50 +0200
  Re: [v2] RANDOM: ATH9K RNG delivers zero bits of entropy Stephan Mueller <smueller@chronox.de> - 2016-09-27 17:20 +0200

csiph-web