Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1452327pxb; Wed, 12 Jan 2022 15:20:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmtV8mYjOivO6kan/5Ub5Ht99IOev0C3OO4spYWKf4oeBSfJuKm5xbblBr3IDxa9jjK/a/ X-Received: by 2002:a17:903:1209:b0:149:a428:19ef with SMTP id l9-20020a170903120900b00149a42819efmr1637616plh.47.1642029611271; Wed, 12 Jan 2022 15:20:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642029611; cv=none; d=google.com; s=arc-20160816; b=Y5FDWiw5TPStO0HrjFuFE2crwIO/JZQPiQ2W99qiLirgzIWKHtSSvgWifHxHmqWC+N 1+I4uAZnAOPOXjKsmLXFpzbL8x8/xZQxeppYlmGTP1vdEAmwSYBHRV2kwrE4EZuVDS6b z12Ea3e0JgYA45YbTJN73VsIZq/Gvm8eSlpLPMY+OFJfFr6CTjy/mUSry12MDRptYMGe tsOWhABOiD6SswRMZURMnJEoB8Rh99EVWPXMWit3xxKICLS0aXKlHdIKzVXWnIy1awWl uWXandYmnHUws98emFwGera3ZjBe+qp9ymW4I7BlVWjvE3R9oK+arYj61YbbM0P9usVi GXXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gXV/axjwX5FUovf02ypwHqsrpqjCvYH1CxskvWmTeNQ=; b=rsyoLpj1JfHOK0KCCTXsOQJmHN7aJJnDfM82l7bFyvRi3jFAj2z9fcpkEbV/fGmZiB 5sVkse5i+CMhHgEhbHWCbAC4+1ooj6jxpnF8LjfBBezAGlpAK44GBCHmXFN8Srrae8iW Q0sLkRh9d0mjGJUYLrFnJSHGmpko/IEHwVtpv1VMjwINoDXilcIdQFZ/asbpH4J949bB J2JRMW1bWOqWUlI5U0flAfRGfbReNrOpeQGWUDRH+fZ8YNVucFmwxiBLPQp9o95CbULv S7wlTFsRkSQHRHJgtics6CkRpZ+449wUdVs5OiARu0OGkZ4nN/fGniPWZKdvDZvLdXlf DpCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=GkaMMKTM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w71si1070884pgd.180.2022.01.12.15.19.58; Wed, 12 Jan 2022 15:20:11 -0800 (PST) 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=@zx2c4.com header.s=20210105 header.b=GkaMMKTM; 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=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242098AbiALOoo (ORCPT + 99 others); Wed, 12 Jan 2022 09:44:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241952AbiALOon (ORCPT ); Wed, 12 Jan 2022 09:44:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88A4FC06173F; Wed, 12 Jan 2022 06:44:42 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 486E6B81F1A; Wed, 12 Jan 2022 14:44:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC6CCC36AEB; Wed, 12 Jan 2022 14:44:39 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="GkaMMKTM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1641998677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gXV/axjwX5FUovf02ypwHqsrpqjCvYH1CxskvWmTeNQ=; b=GkaMMKTMPWBCYwW7Tn9myvspr/g9Frxmtuumqgq85W6TRteXdG7WjFtAObxz5GY2oJq+tL hWgQ9VNUaOx38l95jijpKIhc+i/x41elM4S77G8+x/ry35SptQ+tlU179KoFQcJExzkLhU dVFlvx+WqT3GU/gVz3Yg0siPtqjgYBA= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4fbe9360 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 12 Jan 2022 14:44:37 +0000 (UTC) Received: by mail-yb1-f178.google.com with SMTP id h14so6941189ybe.12; Wed, 12 Jan 2022 06:44:36 -0800 (PST) X-Gm-Message-State: AOAM532lO6Q8tEHtIfQeuVcPtTbooYyMPGl87071oZtQwM7gXZ5zRMmX c0hMCYjrwolWcE4AuzVVd/oJTc6JD5GpAUYrMNY= X-Received: by 2002:a25:f90d:: with SMTP id q13mr14483ybe.32.1641998675780; Wed, 12 Jan 2022 06:44:35 -0800 (PST) MIME-Version: 1.0 References: <20220112140137.728162-1-jforbes@fedoraproject.org> In-Reply-To: From: "Jason A. Donenfeld" Date: Wed, 12 Jan 2022 15:44:24 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] lib/crypto: add prompts back to crypto libraries To: Ard Biesheuvel Cc: "Justin M. Forbes" , Herbert Xu , "David S. Miller" , Greg Kroah-Hartman , Linux Crypto Mailing List , LKML , Justin Forbes , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Jan 12, 2022 at 3:42 PM Ard Biesheuvel wrote: > > On Wed, 12 Jan 2022 at 15:15, Jason A. Donenfeld wrote: > > > > On Wed, Jan 12, 2022 at 3:13 PM Ard Biesheuvel wrote: > > > > > > On Wed, 12 Jan 2022 at 15:12, Jason A. Donenfeld wrote: > > > > > > > > On Wed, Jan 12, 2022 at 3:08 PM Ard Biesheuvel wrote: > > > > > > > > > > On Wed, 12 Jan 2022 at 15:08, Jason A. Donenfeld wrote: > > > > > > > > > > > > On Wed, Jan 12, 2022 at 3:06 PM Ard Biesheuvel wrote: > > > > > > > > > > > > > > On Wed, 12 Jan 2022 at 15:05, Jason A. Donenfeld wrote: > > > > > > > > > > > > > > > > This commit also needs this snippet: > > > > > > > > > > > > > > > > > > > > > > Why? > > > > > > > > > > > > So that the menu of crypto library options is inside of the library > > > > > > menu. Otherwise this will appear inside of the _root_ menu, which > > > > > > isn't what we want. > > > > > > > > > > Why not? I think that's fine. > > > > > > > > It's really not appropriate there. Look: > > > > > > > > - Justin vanilla: https://i.imgur.com/14UBpML.png > > > > - Justin + Jason: https://i.imgur.com/lDfZnma.png > > > > > > > > We really don't want another top level menu. We're not that important. > > > > Rather, crypto libraries are but one ordinary subset of ordinary > > > > libraries, just like how the build system does it too. > > > > > > I disagree. The root menu is a jumble of things already, and having > > > this one at the root is really not a problem. > > > > Should CRC routines also go into a submenu and be put at the root? > > What about other library functions? Library functions belong in the > > library submenu. We don't need our own top level submenu for this. The > > whole point of lib/crypto/ is that they're just boring library > > functions. Libraries! So, part of the libraries menu. > > Shouting it doesn't make it true. I'm not shouting. I respectfully disagree with your perspective. I think the comparison to CRC routines is an apt one, still unaddressed. > Nobody cares about what the root menu looks like I certainly do. > and given that this > patch is presumably going to be sent as an early fix on top of your > rng branch, it is better not to touch anything under crypto/ unless > you are 100% certain it is not going to conflict with Herbert's tree. Oh, I was thinking Herbert would take this since he hasn't sent a pull yet? Otherwise, sure, I can do it. Jason