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 588DBC433FE for ; Wed, 12 Jan 2022 13:59:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353815AbiALN7C (ORCPT ); Wed, 12 Jan 2022 08:59:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239980AbiALN67 (ORCPT ); Wed, 12 Jan 2022 08:58:59 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 274E8C061748 for ; Wed, 12 Jan 2022 05:58:59 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id j11so8482797lfg.3 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=Sx3oe5oFIX3aUnA1voxRFWGHNWs9UTNKYXYdPvL6MdyDCZgFJGJHfcN8JkQA1xhx9D /mKYauVAn+eU3B6U7/285VluNnZbbF+MxcEo+4VBheXOJwEHh6Dy/ZQZE/1VAXn0hUJ5 0oRloUiTIaKJ/SkIasvrtk3MbRXsVUsC/x58LL4U0hrpcEXmbZI23i+NbSDEBv3cJxKI sBCxRzX6KZF6xQhwHyNU3XOVONCDmK481OUXkS9LXctHDkwoeNSaCirqyhdnB7RINzkB KHQ2T5iG7zY/l0Gsq5EqPtwP0RCxV913HT39okoGjtTqhFofbPNc+P5385OBgV0EITSh 2Flw== X-Gm-Message-State: AOAM5321ANzXsDNUO54KGScnTws/pnriV8Bzh0YB+eMNwcReCesizbF+ qrFuaVM11563iKgPS60Wq087XeXa+hLF0kE6BX1FNA== X-Google-Smtp-Source: ABdhPJzPYmMCW1KoL34T5ouPqhnjkHuqlVB7qHUPxjPR1hSYzd6dCPBMTZSeoCwShQqJSZwkaeEZJgQ00W1n/1268Ug= 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-kernel@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