From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934062AbcI0Oob (ORCPT ); Tue, 27 Sep 2016 10:44:31 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:43692 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932279AbcI0Oo2 (ORCPT ); Tue, 27 Sep 2016 10:44:28 -0400 X-IronPort-AV: E=Sophos;i="5.30,405,1470726000"; d="scan'208";a="227469395" X-IronPort-AV: E=McAfee;i="5700,7163,8300"; a="1280345050" Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [v2] RANDOM: ATH9K RNG delivers zero bits of entropy From: Kalle Valo In-Reply-To: <1654172.XfclnXhRmn@positron.chronox.de> References: <1654172.XfclnXhRmn@positron.chronox.de> To: Stephan Mueller CC: Ted Tso , , , , , , , Kalle Valo , "Jason Cooper" Message-ID: <2ba03f89daee4f09a88a1238943eb49d@euamsexm01a.eu.qualcomm.com> Date: Tue, 27 Sep 2016 16:44:16 +0200 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01F.na.qualcomm.com (10.85.0.32) To euamsexm01a.eu.qualcomm.com (10.251.127.40) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephan Mueller 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 > Signed-off-by: Stephan Mueller Based on the discussion I'm dropping this patch. But the discussion was hard to follow so please let me know if I misunderstood. Patch set to Rejected. -- https://patchwork.kernel.org/patch/9266265/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches