Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1449951pxb; Wed, 12 Jan 2022 15:16:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxXuCgsErxiVhxdzQkBi4b1vfjxu5PtVKlnaj6td/ZHJs7LZwUkx2VtnxRZwynERRArvs19 X-Received: by 2002:a17:902:b08b:b0:149:88bb:b477 with SMTP id p11-20020a170902b08b00b0014988bbb477mr1738673plr.137.1642029387127; Wed, 12 Jan 2022 15:16:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642029387; cv=none; d=google.com; s=arc-20160816; b=J5j2JO83+x9I+kCPKt0WOh1OqWfSnLVrZJCBqVHDvOrGDnkcPhVFhl+HD8OAakb9uB 4Pjxn2OvwA1/wXdOMK+hDlLf9sXJAs9dzhHAd/FA+F195xJ+0HgorkNpu+eU3fXjL8yu KdPIJv/3sK7tbJQiA8YVnZFQTIPHmMt7amfRz54cMZjd9+L1nuJ8w81pjD2Jc5ALwViN t7sxrVEV0wRfaUJr7QZsCy1HAnfRmSUFz0yj89M2m9hQrSuJG2EU2GSU27svdRefsiaR dNMn2tv3f6cKjlBdYwdZPzZqUALNIEH4FV9htX1jZrwtMLuPcVm7tRkwbz01W3DpGskH s0uA== 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=7eKjcI/Bd+RPtk5A9fLQFKYNhKKvA3UhUmBNdgii34o=; b=v0bkWJ9pAxxUjsFq3HiiZ0Lc5EmM7S0kR5IDeoLNw41dAz9ZFXWAj/ieF3ENe6IHEF 9bXPlb5E5f6m01Xis++q5Gd2IQboncx7UPzmf1QUZRu1tLFlWrwfUPUAqY39JoPbbwL7 UZD1bIZ6NbZ9dTcCxBYAjWSugG4lTextcp2AdXnLFOwfD9Kl9vDlcE9PxaBydkYQ8Wtm lollc+IXgnCbARQIcRHL9QOZy8QSMph0CSiDASPVeqQskvm8+RMRwwZJ7NctKc3u4XIc UeIU6gjqYgiiwnmh1IhYRbx1oekPLJ+8/PfMj8dLESBSL2s/vGKSVE7wVGUBEf6tnbwj i2vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxtx.org header.s=google header.b=YQS683RD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lw10si1190390pjb.78.2022.01.12.15.16.15; Wed, 12 Jan 2022 15:16:27 -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=@linuxtx.org header.s=google header.b=YQS683RD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241774AbiALN7B (ORCPT + 99 others); Wed, 12 Jan 2022 08:59:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40140 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236849AbiALN67 (ORCPT ); Wed, 12 Jan 2022 08:58:59 -0500 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C99EC06173F for ; Wed, 12 Jan 2022 05:58:59 -0800 (PST) Received: by mail-lf1-x12d.google.com with SMTP id d3so8313189lfv.13 for ; Wed, 12 Jan 2022 05:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxtx.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7eKjcI/Bd+RPtk5A9fLQFKYNhKKvA3UhUmBNdgii34o=; b=YQS683RDUAcDkViHVLraarkF9Bn4e65ELek4jc9vsCuDsVbWEvPnlVEAePssAIGXRA SW9AEHzPdzstpY4lHqhv3HLa1V3Fm4ytyPb82eHv8th5tgygvuF/aU/d0kSg1IazUdn1 z4y/MCBsECb5UVVPZcasqWbtiNdld5JJTLi2U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7eKjcI/Bd+RPtk5A9fLQFKYNhKKvA3UhUmBNdgii34o=; b=fxTYMwG5oKGrVG39thvnhCqJDsjI05swfsz7ZHjMSEVLcQUnpAoZlyyNCQIAasSSi2 Ll+WxFOmaYPomgvAt48uhgiGr76eq1XhGN32LTw6U67vW9xr43UCZVEjMFqF7Uf3udNn PcDa06PupGKCPRUnu1iR3dKE45xxrUAVb+Z8J/d3RE4hhuCly6ODw/HNk30rtR7q8+Qq kbr5i0aSXEvpQgBgz8PrlHZYnSfN7atVcGGao4yM2uCJjOEosYe3Hr7yHiLzBEQ/WRIb W8CvTp22uptBohE5ShMXGkEloEclcZ139c+guEDDtFl9uuegtbcvfpZpcui42wgAs53+ PqpQ== X-Gm-Message-State: AOAM533i/osOQBM4KO0H4+wKelcb0q3Dkg+tMaIIOlCumdZ4QgSq6/Zs Wb+BMfIp6NSvOpyXIfKBzH4zbz9+eMyvHu2k+m2JdZMw5ynGUw== X-Received: by 2002:a05:6512:3f8:: with SMTP id n24mr7095067lfq.650.1641995937442; Wed, 12 Jan 2022 05:58:57 -0800 (PST) MIME-Version: 1.0 References: <20220111195309.634965-1-jforbes@fedoraproject.org> In-Reply-To: From: Justin Forbes Date: Wed, 12 Jan 2022 07:58:46 -0600 Message-ID: Subject: Re: [PATCH] lib/crypto: add prompts back to crypto libraries To: Ard Biesheuvel Cc: "Jason A. Donenfeld" , Herbert Xu , "David S. Miller" , Greg Kroah-Hartman , Linux Crypto Mailing List , LKML , David Howells Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Jan 11, 2022 at 4:41 PM Ard Biesheuvel wrote: > > On Tue, 11 Jan 2022 at 23:27, Jason A. Donenfeld wrote: > > > > On Tue, Jan 11, 2022 at 11:25 PM Ard Biesheuvel wrote: > > > > > > On Tue, 11 Jan 2022 at 23:12, Jason A. Donenfeld wrote: > > > > > > > > Hi Justin, > > > > > > > > These are library variables, which means they really have no sense in > > > > being user selectable. Internal things to the kernel depend on them, > > > > or they don't. They're always only dependencies. > > > > > > > > > > But what does any of this have to do with blake2s? These are unrelated > > > changes that are not even described in the commit log of the original > > > patch, so let's just revert them now. If changes are needed here, we > > > can discuss them on the linux-crypto mailing list after the merge > > > window. > > > > The lib crypto stuff moved outside of `if CRYPTO`, so if you add those > > titles back, the root menu is going to be filled with things. I'm > > working on some patches now moving lib/crypto/ things into lib > > strictly, so the dependency is one way. I can try adding back the > > labels there if you want. > > > > Ah, right. In that case, can we fold in something like the below? > > diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig > index a3e41b7a8054..179041b60294 100644 > --- a/lib/crypto/Kconfig > +++ b/lib/crypto/Kconfig > @@ -1,5 +1,7 @@ > # SPDX-License-Identifier: GPL-2.0 > > +menu "Crypto library routines" > + > config CRYPTO_LIB_AES > tristate > > @@ -120,3 +122,5 @@ config CRYPTO_LIB_SHA256 > > config CRYPTO_LIB_SM4 > tristate > + > +endmenu That works, I will send a V2 with the menu. Justin