Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3191688pxu; Sun, 29 Nov 2020 18:26:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJySBiKK1/6WG8VG2XEJP4iUwF/TlmyhMOzjHdwrO57EVyiL5JLy/1GI82gmIW08laxwYMyz X-Received: by 2002:a17:907:3f9e:: with SMTP id hr30mr18316798ejc.258.1606703161497; Sun, 29 Nov 2020 18:26:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606703161; cv=none; d=google.com; s=arc-20160816; b=pikRTsBRUdplKGHFFQLEJfYmbjMjq1juSeBYjzRxbg7fKu1/inUaELu+tefukB6U7o CcFEPmlfvd2FtuZ6Y+pd10iKFOL4vydD9Uq6KfX+Z8eZugsYVJgQ52kEbyCDZkgi+HAy GU/O3HevKpMeJ1gR8pmNPV0bddw90mZGj8baSubvrgeD8jHIvifatiiAwQHRwZpy3VLj LhiE0Kjzw9x6CQgPeS5a89t++GzjsNu3G9WmstkR4gKQddLj0a3v+P741HOzv8nS4jrt c4uVzXoMtaWjrxZ+JZnkCdhFZAW+3dni0n5QdIipCNWZ1I/Uh3CEX3r9HQEM5ak+jOUs jVog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=q9X+8ImPfkvY8gBVXBqsMvoF3VSUjpBJyIc3pH+y4+Y=; b=B+9Y1cKy+6Q3Lwul0rn3U9rkJc3AX+ykI/7dyptWkcoIHa+LS3A6uhNyzFA3u7lySr LrIgYxCiW2z6FUgngU0yb74pFPBC4p7Es0uY3tLuZCwj+Dtcugyd/BB/b4EhCuYC2UdB hbrpBywpK5xNdJqVaOsq4ZNNYrL72PbH2Lirv2Uc5XflKsziPUaKU4eF/hQ1BPHdOK9Y yeO6zbL/VJuGCMwMYTVVOS22PQZkehNyjP2Zod47Xf31J+5pkng3xO5S++V74M84Ul0l ecjcsMAAGQz7AewDR7cMatkQeTE/bbhaG17jxYg9J0FPakoNLqJ/zg/oWEkf8Hp7K7xK hmDg== ARC-Authentication-Results: i=1; mx.google.com; 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 r17si10334706edv.234.2020.11.29.18.25.24; Sun, 29 Nov 2020 18:26:01 -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; 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 S1726733AbgK3CZR (ORCPT + 99 others); Sun, 29 Nov 2020 21:25:17 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:40860 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726304AbgK3CZR (ORCPT ); Sun, 29 Nov 2020 21:25:17 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1kjYrW-00023w-Fi; Mon, 30 Nov 2020 13:24:23 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Mon, 30 Nov 2020 13:24:22 +1100 Date: Mon, 30 Nov 2020 13:24:22 +1100 From: Herbert Xu To: Tianjia Zhang Cc: Vitaly Chikunov , "David S. Miller" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: ecrdsa - use subsys_initcall instead of module_init Message-ID: <20201130022422.GA21049@gondor.apana.org.au> References: <20201015110241.89676-1-tianjia.zhang@linux.alibaba.com> <20201015120504.GA12976@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Nov 30, 2020 at 10:21:56AM +0800, Tianjia Zhang wrote: > > > That is true only if there are non-generic implementations of > > the algorithms, which is not the case here. Please explain the > > real reason why this is needed. > > This is a generic algorithm, the author Vitaly Chikunov has also confirmed > it, please consider this patch again. As I said, the generic algorithm only needs to be loaded early *if* there are non-generic implementations. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt