Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D1A2C433F5 for ; Fri, 10 Dec 2021 09:30:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239406AbhLJJeC (ORCPT ); Fri, 10 Dec 2021 04:34:02 -0500 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:42090 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230027AbhLJJeB (ORCPT ); Fri, 10 Dec 2021 04:34:01 -0500 Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 3806840192 for ; Fri, 10 Dec 2021 09:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1639128626; bh=TOABqDoDyoZMzu2zyuqzlEXvOXLcnUgJrT4MBvtVpOA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=lzGGxY2hKYAHTdAIAM5luCJA5G7bv1XucJUChQLQ7a8HmjBA1mlL8afGIS4YRdd+e MkvCPZp81IUdCIj11WFOErFfNoRwS1VhnKl4RD6K9AYOhU4L/QxHWX3QeLhA6F/Wad cR/POzJAeCv+u+3r2zuJP6qTx7tSJwxE9XztuxkYTdgXV/dN3Fo/EemkFOp7pxQmjU ppMPma2MNq1enVNDS5sU8D5e9ZIX870ylp82dWZWwG/lnmKT6H2R96V9UU7rVQJIS1 /5EgsYWtxCqvIm5MjRrEVrOrgLolzqt5scbvBC+VaZ17udHocv8cCWSX33S2Xe/bRR 7B5O5jb8ZlfRQ== Received: by mail-vk1-f198.google.com with SMTP id g5-20020a056122062500b002fc9cc97ab0so5792860vkp.1 for ; Fri, 10 Dec 2021 01:30:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TOABqDoDyoZMzu2zyuqzlEXvOXLcnUgJrT4MBvtVpOA=; b=JWzozZCiUTD3QxZpoRzYiTloS2QrPk+kHb1EcroY8m1LngQU5R6Qs++kntW2JYezcO OFviBSr4yzS+7t3tVR0/KaTneo+LRZdZpRUQx9nPtqbWUTLG1ZDNdkcnotHPlYYATeye 0uhKFL/fReYqXCv0JroDncTr12DLBTAdtFv91rP83MomuJO97hBrmawyHCh7KNrMwQFs 9kitUE7rvKex/5lBP2LFcAQJqhZfGzg1KLS70+OgibaEl9Ghc6hu4WZYtxhoIkl4E4Au qRLJ9Vn8NlKMvgs1PIoeFrabMgTDlHqKVvfiEn6JvHA3078xJMWuGAc/JWW+yDzeXWoL YknQ== X-Gm-Message-State: AOAM531rMIbmX3Uug+6R5NBWk3jjiylyjwWxahbTKTpQ25XXPmfSQaDF gFfFcK1qy37xjIs6rAGdNwQT8h+tHfSIew93+QKSapsU153QMqHqMbgjZyMJs5QsjVA0C567602 7q+KpGGG58a5Al3bHovg+ZPfmDYvRjn97nBmB1Km+ X-Received: by 2002:a1f:a4c5:: with SMTP id n188mr16813186vke.35.1639128614797; Fri, 10 Dec 2021 01:30:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxs6KYO2BNAOeA7k7pCOR/YtUwCzO5VFWwci6JKJ+U36KM1Qb2zQXngD08zqwPFYw72xZFi4A== X-Received: by 2002:a1f:a4c5:: with SMTP id n188mr16813149vke.35.1639128614509; Fri, 10 Dec 2021 01:30:14 -0800 (PST) Received: from valinor (201-1-104-75.dsl.telesp.net.br. [201.1.104.75]) by smtp.gmail.com with ESMTPSA id j15sm1592946vsp.8.2021.12.10.01.30.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 01:30:13 -0800 (PST) Date: Fri, 10 Dec 2021 06:30:03 -0300 From: Marcelo Henrique Cerri To: Greg Kroah-Hartman Cc: "Jason A. Donenfeld" , Simo Sorce , Jeffrey Walton , Stephan Mueller , Tso Ted , Linux Crypto Mailing List , Willy Tarreau , 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 , Eric Biggers , Neil Horman , Randy Dunlap , Julia Lawall , Dan Carpenter , Andy Lavr , Petr Tesarik , John Haxby , Alexander Lobakin , Jirka Hladky Subject: Re: [PATCH v43 01/15] Linux Random Number Generator Message-ID: <20211210093003.lp6fexzrga3nijxn@valinor> References: <20211210014337.xmin2lu5rhhe3b3t@valinor> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="u3noeovlywjbaelh" Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --u3noeovlywjbaelh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 10, 2021 at 07:46:24AM +0100, Greg Kroah-Hartman wrote: > On Thu, Dec 09, 2021 at 10:43:37PM -0300, Marcelo Henrique Cerri wrote: > > Hi, Jason. How do you think we could approach that then? > >=20 > > Are you willing to discuss the FIPS 140-3 requirements that random.c > > doesn't currently meet so we can dive deeper on how we could implement > > them in a way that would improve the kernel other then simply > > providing compliance to FIPS? >=20 > Discussing things doesn't usually work well. Let's see some working > patches first, that solve problems that you have with the current random > code, and we can go from there. >=20 > Again, like any other kernel patch submission, nothing new here at all. Hi, Greg. I understand your point but we had plenty of patch submissions already from Stephan, Nicolai and others and that didn't work. So I am expecting that anybody taking over as the random.c maintainer can at least provide some direction on that. >=20 > > I believe all the distros are interested in making progress on that, > > but without a general guidance it makes very hard for us to > > collaborate and we end up in the current situation in which each > > distro is carrying its own "hack", as Simo mentioned before. Canonical > > is in the same situation as the other distros and we are carrying an > > workaround to wire up the crypto DRBG to random.c in order to archive > > compliance. >=20 > If everyone seems to think their patches are hacks, and are not worthy > of being submitted, then why do they think that somehow they are viable > for their users that are actually using them? Because although some people dislike it, FIPS is still a requirement for many users. That's the reality and that will not change just because there are some resistance against it. The patches that distros are carrying are hacks because they try to minimize risks while keeping the code as close as possible to upstream. But that has several drawbacks, such as performance, limited entropy sources an so on, that to me makes them not suitable for upstream. >=20 > {sigh} >=20 > greg k-h --=20 Regards, Marcelo --u3noeovlywjbaelh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEExJjLjAfVL0XbfEr56e82LoessAkFAmGzHhsACgkQ6e82Loes sAkIFwv/ToB/KAsEJ8MUrJncvDrR0Sul9V3jyn2CTZVF4hxLsQGelb/1QsOs5SOE 6I8BXrYyhwWJjDv/rJUaOH9Mu7alBp/quXZ1ntYHqo2m3k69sRXP7nusgt5wu54c ImYFzl3VYLaAs4wEfbw2ZvKkeOCiX7ZF2eXLHmbxY/eZ4/SaRt37P72P952Rhz75 K4oa/otLEEJzaLSS1BmsifvlCXA51n5955P0MFs2HMtSeg1zuksPcwWd+ztJY4nl bH8vr/wpQM1n/aFnFJSluVIEvXgOr8h4KGrYlxvfWkQ5PfZhr/FZE0F6Dm8yesfK NI6ed7/gpALvq15e/2VunGJhJXBlvnfHALxAZYqx+8YAVRxzLYA6BMWsOTFQCdc+ I6+/CgIC2ZIba3TDhd2PVsOQgZG1K2jS3b9dfz4fKNsmoy9VRK6bt6KOO2EGRu3a 2AgPbvxXcWkn9+l4Z71g7FRMtEafjiAkYW1RVxfTO3Ej08GIsOo7XyDePQdxmIKD vj9eSAns =k1Az -----END PGP SIGNATURE----- --u3noeovlywjbaelh--