Kalle Valo
2016-08-15 11:01:09 UTC
The entropy was evaluated by crypto expert, the analysis report show
the ADC with at least 10bits and up to 22 bits of min-entropy for a 32
bits value, we conservatively assume the min-entropy is 10 bits out of
32 bits, so that's why set entropy quality to 320/1024 = 10/32. Also
we have explained in the commit message why can't use the HW RNG
framework.
Otherwise, your patch will cause high CPU load, as continuously read
ADC data if entropy bits under write_wakeup_threshold.
Please don't top post, it breaks patchwork which is extremely annoyingthe ADC with at least 10bits and up to 22 bits of min-entropy for a 32
bits value, we conservatively assume the min-entropy is 10 bits out of
32 bits, so that's why set entropy quality to 320/1024 = 10/32. Also
we have explained in the commit message why can't use the HW RNG
framework.
Otherwise, your patch will cause high CPU load, as continuously read
ADC data if entropy bits under write_wakeup_threshold.
for me:
https://patchwork.kernel.org/patch/9266265/
https://patchwork.kernel.org/patch/9266617/
--
Kalle Valo
Kalle Valo