From: Kalle Valo Date: Mon, 15 Aug 2016 14:01:09 +0300 Subject: [ath9k-devel] [PATCH v2] RANDOM: ATH9K RNG delivers zero bits of entropy In-Reply-To: <657897b90b8344eeab10d7a0f604988d@aptaiexm02f.ap.qualcomm.com> (Miaoqing Pan's message of "Mon, 8 Aug 2016 02:03:36 +0000") References: <34197429.2CvoIfft9B@positron.chronox.de> <1654172.XfclnXhRmn@positron.chronox.de> <657897b90b8344eeab10d7a0f604988d@aptaiexm02f.ap.qualcomm.com> Message-ID: <87wpji70ui.fsf@purkki.adurom.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org "Pan, Miaoqing" writes: > 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 annoying for me: https://patchwork.kernel.org/patch/9266265/ https://patchwork.kernel.org/patch/9266617/ -- Kalle Valo