Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1452450pxb; Wed, 12 Jan 2022 15:20:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdxWzI3iLXmwz7QKeOKwp1q7SP+bdEbJKbuEN5NzRqSuMTq4z7amI9FJxQNw63eeK+erNO X-Received: by 2002:a17:907:2da1:: with SMTP id gt33mr1545402ejc.590.1642029618995; Wed, 12 Jan 2022 15:20:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642029618; cv=none; d=google.com; s=arc-20160816; b=yOI3EIxZH7hYlqsNqTEBfeq96W2eHdenTnxM1ZBZm+oNtUCge0WmDn2+SqH1O+ULJX as2kfNMwbYeXuxi7Zap1SdFPp7IdrkoTz5WjpE87eJR5FaF84X9ew/lIhZVAxLzGYSar inugtByDT+E6QncudjyjiEfx5VNxvBAp+ler20uyH2oynnVV4gHmBeT+lb1us3Pq4ONN 73v1O4k47eAk4uXjqGFeIBFl0ZtFxZiNlwISE/1X2Ap6Tlyp4QRqUN0w7OInM7EuYvjj 7bPBC3T7XFT6nxR0g0beRhST/br6eEkyoSGcjnhkxPtFAgo3vcLPjUGwlEhEkPg7AQsX Vtgw== 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=q0bG03tyBiW+TFtys/zYaZD8KtKEQEo+RRgWwpyCios=; b=BXn9S3PhL2Z4uPlrBVppx/EqoeyG74qFMx2frQ25UaRSHNyt3ppLgrtJjGB/mVciU2 Sm3GCg3ysX5ZdLYGAELSuJSe+Cj27Tiq+VhnTE0/VLtcSqwS8oXK5qDYFfTgwTzn7Rpq rjEmHqh2hepoQrKw6IGRUiMZcBTBhuRG8tEjhE+5l9GT0M1ZFtmBJiyzbcbARoW1Glin 63acz7TrfcLP8n/qOUW7QEvoKdOiOLRhhr3XbWldh32WQtYNCJFj7Nv919Za/jgjjnvv LeaGLbkOlYUiDfGXBimj3AAsZSIKQ4cjabln2oKofq2QwJCfo2k3KpSIzAW9SynCJUd9 Kieg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b="k/fuybhK"; 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 dz11si679961edb.203.2022.01.12.15.19.54; Wed, 12 Jan 2022 15:20:18 -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="k/fuybhK"; 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 S241514AbiALOPL (ORCPT + 99 others); Wed, 12 Jan 2022 09:15:11 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:48160 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354039AbiALOPB (ORCPT ); Wed, 12 Jan 2022 09:15:01 -0500 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 dfw.source.kernel.org (Postfix) with ESMTPS id 744B4615A3; Wed, 12 Jan 2022 14:15:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82E64C36B01; Wed, 12 Jan 2022 14:15:00 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="k/fuybhK" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1641996897; 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=q0bG03tyBiW+TFtys/zYaZD8KtKEQEo+RRgWwpyCios=; b=k/fuybhK99zjwRcCn6Jq1ZGyKdmRD9QiyrcE4qDzQbSx1K2//VT4GsAz/lFF57ubfryesb s3zFQCTbxxNEVrhtiFjiQWv+hlXuJxwRlyHTJUSvjOMxw+rUizRCBHBb/+CCu6/s3j+B1N l8PDjDkOITbYvvP0W2XHGWa/MbP2LNo= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id f36a452d (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 12 Jan 2022 14:14:57 +0000 (UTC) Received: by mail-yb1-f179.google.com with SMTP id d7so6747496ybo.5; Wed, 12 Jan 2022 06:14:57 -0800 (PST) X-Gm-Message-State: AOAM531WFOULZKue4ZV61OCYWgoGLeVouJmWPmbx1oNdoYr6Z/8j5/VN KfFw8e1bjr20XWDHgdV3soKovUfh64CE7KX1I7M= X-Received: by 2002:a25:a0c4:: with SMTP id i4mr13145078ybm.457.1641996896142; Wed, 12 Jan 2022 06:14:56 -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:14:45 +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: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.