From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF635C64E8A for ; Mon, 30 Nov 2020 02:23:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5F2222076C for ; Mon, 30 Nov 2020 02:23:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726820AbgK3CWv (ORCPT ); Sun, 29 Nov 2020 21:22:51 -0500 Received: from out30-54.freemail.mail.aliyun.com ([115.124.30.54]:50428 "EHLO out30-54.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbgK3CWv (ORCPT ); Sun, 29 Nov 2020 21:22:51 -0500 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04394;MF=tianjia.zhang@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0UGusXv9_1606702916; Received: from B-455UMD6M-2027.local(mailfrom:tianjia.zhang@linux.alibaba.com fp:SMTPD_---0UGusXv9_1606702916) by smtp.aliyun-inc.com(127.0.0.1); Mon, 30 Nov 2020 10:21:57 +0800 Subject: Re: [PATCH] crypto: ecrdsa - use subsys_initcall instead of module_init To: Herbert Xu , Vitaly Chikunov Cc: "David S. Miller" , Vitaly Chikunov , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org References: <20201015110241.89676-1-tianjia.zhang@linux.alibaba.com> <20201015120504.GA12976@gondor.apana.org.au> From: Tianjia Zhang Message-ID: Date: Mon, 30 Nov 2020 10:21:56 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 MIME-Version: 1.0 In-Reply-To: <20201015120504.GA12976@gondor.apana.org.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Herbert, On 10/15/20 8:05 PM, Herbert Xu wrote: > On Thu, Oct 15, 2020 at 07:02:41PM +0800, Tianjia Zhang wrote: >> All templates and generic algorithms have been registered in >> subsys_initcall instead of module_init. The ecrdsa algorithm >> happened to be missed. Here is a fix for it. > > 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. > > Cheers, > This is a generic algorithm, the author Vitaly Chikunov has also confirmed it, please consider this patch again. Thanks.