Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1310140pxk; Fri, 2 Oct 2020 06:34:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPPnmHnWkyGDRlELfTaICflb2ZeoalN3+/4W39KlU1u1eDNJeFup9ZG7jcIPs4CM2a5tSb X-Received: by 2002:a17:906:7e47:: with SMTP id z7mr2258271ejr.418.1601645666762; Fri, 02 Oct 2020 06:34:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601645666; cv=none; d=google.com; s=arc-20160816; b=TMhkM4TFr1RCa+OWmA2VUd2Xc0WI5AZLkd3+dxUIAmU714DqRSdcF5M32ISD3HtnS1 NH3mt6IHOZ/7lb7Sh73l9pxcBQSnES+h049TRDR3vOivP/NVuSAXbSvb7sO3e24waE7m vDqiJv3ft0l0RRVxuIpbcIuZ3sAoaN3V7PoTI+PAUZXq/QVi0Sqy3RR69+cJMNPkC81u 9SZ1Zv5hf94a8VIRsOFENr0YuIza9bB4A1cxkNYCOxYN9arqhd8eIXY2ZMa+sMWkp1n8 dKDUY7ymBNvqR9WDgra0/3roimN4+bAY11ohD8s0CGm2FMwe0v6Iui2m1uIU/TWwbVUA Mn1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZdAPr1zAvG2EQfVeTFZD0anuDIfQ2bfVxM3FouwqqZk=; b=ToP0DkBv5+Pexxsmogk3ZKYgOLkivZKO3Pmhf8swXM4rRV2x1v3IuulWVcaQPOOZvz 9UlwXFJFcvvVPJoK1dDSueunAtJ1eK/qK3xvcnU/6C9JvkKVZ/dz6PaA4YMf3YeWHdO4 djoWiCTTP8nLA8He75kVhCkWH0f+biOSjQpXXj8j+hh9ZWODsTR4vBYrvAq3zoQv8CDC G1gze1r+ak4iDuUpXnZWawPrF5mv7zLck8KoejopCK7tWS9F213MPS+RSacYSD13f92m FVrzZmE7yQp3UIG96HUx8s1cUFMNgGBHlg67UOR6mF/HBhTycx0+O9YVBuMdnuhvVfFP YBNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ey4Uqhr5; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s26si1016022edw.32.2020.10.02.06.34.02; Fri, 02 Oct 2020 06:34:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ey4Uqhr5; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726386AbgJBNd7 (ORCPT + 99 others); Fri, 2 Oct 2020 09:33:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:39584 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgJBNd7 (ORCPT ); Fri, 2 Oct 2020 09:33:59 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2A9AD21D92; Fri, 2 Oct 2020 13:33:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601645638; bh=r8sE4T1WJ1sRR0dXb4x/LbPIxOFPFnbbV6tkOMGQhjk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ey4Uqhr5SplFwaM0FVnMRpRGViz49oWAGj2/qyXpESRZ9aq5/kbUfEO6dQe7pBUlF xQqLlWGvlcIRi7SqSZG8VZhkIr5b2iGmXZ03tf01zpN38/r8n0ihWfvus/RyawOPFz efEBAPgnunvIcvuVbe1a2e1LHFnqn7L0gwaWpD0s= Date: Fri, 2 Oct 2020 15:33:58 +0200 From: Greg Kroah-Hartman To: Willy Tarreau Cc: Torsten Duwe , "Theodore Y. Ts'o" , linux-crypto@vger.kernel.org, Nicolai Stange , LKML , Arnd Bergmann , "Eric W. Biederman" , "Alexander E. Patrakov" , "Ahmed S. Darwish" , Matthew Garrett , Vito Caputo , Andreas Dilger , Jan Kara , Ray Strode , William Jon McCann , zhangjs , Andy Lutomirski , Florian Weimer , Lennart Poettering , Peter Matthias , Marcelo Henrique Cerri , Neil Horman , Randy Dunlap , Julia Lawall , Dan Carpenter , Andy Lavr , Eric Biggers , "Jason A. Donenfeld" , Stephan =?iso-8859-1?Q?M=FCller?= , Petr Tesarik Subject: Re: [DISCUSSION PATCH 00/41] random: possible ways towards NIST SP800-90B compliance Message-ID: <20201002133358.GA3386034@kroah.com> References: <20200921075857.4424-1-nstange@suse.de> <20201002123836.GA14807@lst.de> <20201002131555.GD3783@1wt.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201002131555.GD3783@1wt.eu> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Oct 02, 2020 at 03:15:55PM +0200, Willy Tarreau wrote: > On Fri, Oct 02, 2020 at 02:38:36PM +0200, Torsten Duwe wrote: > > Almost two weeks passed and these are the "relevant" replies: > > > > Jason personally does not like FIPS, and is afraid of > > "subpar crypto". Albeit this patch set strictly isn't about > > crypto at all; the crypto subsystem is in the unlucky position > > to just depend on a good entropy source. > > > > Greg claims that Linux (kernel) isn't about choice, which is clearly > > wrong. > > I think there's a small misunderstanding here, my understanding is > that for quite a while, the possibilities offered by the various > random subsystems or their proposed derivative used to range from > "you have to choose between a fast system that may be vulnerable > to some attacks, a system that might not be vulnerable to certain > attacks but might not always boot, or a slow system not vulnerable > to certain attacks". Greg's point seems to be that if we add an > option, it means it's yet another tradeoff between these possibilities > and that someone will still not be happy at the end of the chain. If > the proposed solution covers everything at once (performance, > reliability, unpredictability), then there probably is no more reason > for keeping alternate solutions at all, hence there's no need to give > the user the choice between multiple options when only one is known > to always be valid. At least that's how I see it and it makes sense > to me. Thanks for spelling it out in much more detail than I was willing to :) thanks, greg k-h