Thread (16 messages) flat view 16 messages, 5 authors, 2016-09-27

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

From: Stephan Mueller <hidden>
Date: 2016-09-27 15:17:17
Also in: linux-crypto, lkml

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

Hi Kalle,
Stephan Mueller [off-list ref] wrote:
quoted
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 <redacted>
Signed-off-by: Stephan Mueller <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help