Re: [PATCH 2/2] ath9k: export HW random number generator

From
Stephan Mueller <hidden>
Date
2015-07-29 06:33:24
Also in
linux-crypto
Am Dienstag, 28. Juli 2015, 13:41:57 schrieb Sandy Harris:

Hi Sandy,
quoted
However, the hwrandom framework does not provide any conditioning logic.
At first sight, this sounds like a blunder to me, but I have not
looked at hwrandom at all. Is there a rationale?
I think hwrandom is solely a framework to hook up RNG devices to user space. 
There is no massaging of data coming from the HW RNGs. Usually those HW RNGs 
all have their own conditioner and there is no need to do a conditioning 
again.
For example, not building conditioning into that driver would make
perfect sense if the output were just being fed into the random(4)
which does plenty of mixing. The only problem then would be to make
sure of giving random(4) reasonable entropy estimates.
hwrandom *may* be used to feed into the entropy pools. But there is no 
technical guarantee for that. Furthermore, I have seen use cases where the 
output of hwrandom is used for other purposes.

Ciao
Stephan
Thread (1 message) 1 message, 1 author, last reply 2015-07-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help