Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1180579pxf; Fri, 2 Apr 2021 03:35:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAZkR/+59IhEPJ1hX1/K5AEjGVe9vgDZlX+JAye3Sb9KIIkTh9IHNf9LtKjPq7iEmTjn92 X-Received: by 2002:a17:907:2509:: with SMTP id y9mr1388179ejl.170.1617359724684; Fri, 02 Apr 2021 03:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617359724; cv=none; d=google.com; s=arc-20160816; b=wnmdviaMQpHGtVq1Vr23M3qUjqRu7CYn3fJACW9i2UKtC70a2rQUPjiRNYW85IcQJ5 M2H3qHjoe4DKIMzDaPl9pUUJrRvV56Od4scpzTep8toKSA0eTSiUbnaXQXOlHYY1Cohc HgYq9hceZ12S2mfznA9qOjxN9Qj32r8njY69+zVjClIcANbOH8H5eAZs0YiG0L4SDA+l +Cs7YD3GKhy+qzwXFokVmMOcapug+UkdHApQ+UGsoET9KYaMICHbtq3QdVKIuZiZfbRR dL9fya2UUefokOJqMS5QFkNQ9cyF83iz5wxyeaOYNqPhVxTeek9ySEs9gb+srPG6/5Ar xsuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=z4Tcy2XjYLwzDXrTT4QR4TU8KkIxkpMcVvWuV9ZagwE=; b=DNTfPNOZ7V/89/OXx1e3ONYAPFXo8UArQ3NHqhQ27sVGtqd/UqZInU6oP7UIsdGY3U N4cXbRHv683/iQCBJ8RcERCYEGdSxyNdD3r8YQChUHAuhP8g2CS+lHM+3xdk6je3Ruoc TTGS/ipY1DpY97ZbjcxtDrlEMM3K05cTtIl9igFI4alDdmjCZE2CE+5Vnc9vkNsoEXGF GAEz8c9xCvRGmdShKnZo8Ys+o5ijZkunU2zZgx5XsNpfJ8YQGLDes/wkL2CSiAR0TZ+z K5JTkbqbGfpa9EMKOrtu61WkxGZHK0HFl37fnIJwf0FkwLoN0KM75598zUVan+YO7k1P bYCQ== 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 oq4si306858ejb.535.2021.04.02.03.34.54; Fri, 02 Apr 2021 03:35:24 -0700 (PDT) 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 S229605AbhDBKex (ORCPT + 99 others); Fri, 2 Apr 2021 06:34:53 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:54410 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbhDBKex (ORCPT ); Fri, 2 Apr 2021 06:34:53 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 4FBbyx42HFz9ty33; Fri, 2 Apr 2021 12:34:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id XvwunlNFppuO; Fri, 2 Apr 2021 12:34:49 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 4FBbyx35lVz9ty2x; Fri, 2 Apr 2021 12:34:49 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 0E3DF8BB66; Fri, 2 Apr 2021 12:34:51 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id P-Pc_R-4lJcd; Fri, 2 Apr 2021 12:34:50 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 83D938BB65; Fri, 2 Apr 2021 12:34:50 +0200 (CEST) Subject: Re: [PATCH] ecc: delete a useless function declaration To: Meng Yu , herbert@gondor.apana.org.au, davem@davemloft.net Cc: linux-crypto@vger.kernel.org, wangzhou1@hisilicon.com, linux-kernel@vger.kernel.org References: <1617357357-11828-1-git-send-email-yumeng18@huawei.com> From: Christophe Leroy Message-ID: <3fbc88c4-50ae-3ffb-14e5-0cd39d492251@csgroup.eu> Date: Fri, 2 Apr 2021 12:34:50 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <1617357357-11828-1-git-send-email-yumeng18@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Le 02/04/2021 à 11:55, Meng Yu a écrit : > This function declaration has been added in 'ecc_curve.h', > delete it in 'crypto/ecc.h'. > > Fixes: 14bb76768275(crypto: ecc - expose ecc curves) Fixes tag is wrong I think, should be 4e6602916bc6 > Signed-off-by: Meng Yu > --- > crypto/ecc.h | 8 -------- > 1 file changed, 8 deletions(-) > > diff --git a/crypto/ecc.h b/crypto/ecc.h > index 46aa9bc..a006132 100644 > --- a/crypto/ecc.h > +++ b/crypto/ecc.h > @@ -56,14 +56,6 @@ static inline void ecc_swap_digits(const u64 *in, u64 *out, unsigned int ndigits > } > > /** > - * ecc_get_curve() - Get a curve given its curve_id > - * @curve_id: Id of the curve > - * > - * Returns pointer to the curve data, NULL if curve is not available > - */ > -const struct ecc_curve *ecc_get_curve(unsigned int curve_id); > - > -/** > * ecc_is_key_valid() - Validate a given ECDH private key > * > * @curve_id: id representing the curve to use >