Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3949893pxf; Tue, 6 Apr 2021 04:35:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvGxFUUtvwlHc8RH2goMdR/OGaRHXWE+COYZsvRfP3TcaTPglSHCLtWj3oX6XaZ/nl4F/w X-Received: by 2002:a17:906:1986:: with SMTP id g6mr33237995ejd.533.1617708913208; Tue, 06 Apr 2021 04:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617708913; cv=none; d=google.com; s=arc-20160816; b=yKTqOC9kqXkau0r9dMsdIpEjF7JjwQYvGW9smszGv//lbA+9fyNFCcOOcpKoQ47hWW KxYTVAC4lhg5ALSuTsqZc+2baJ3wMO0qx09sG9lYZOXANiVjPioouqoXo/V05N/6GhdK XENQwxLiQU9B1f/pKEh6GLANJZ9aCqy1525Vw8H69faWUmxMbLpQv9VqEPqhTzEvSluP UNyk1KKaCrYQ25phsSRo3vicNWbxNfWxJgB5a9FYLdUWbUtlVxWjq5tSpvCGzU1oI9IV gVc+edMvYiL8rKmWiTU2eluSNKiNoMcTwRSNvyV24c+d+d0bwCg4v55oBrNLukYqClKq Jq5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=31kUOJOkP4ubldvB5t1SgcjTNQdU01qyh+AqPAXuw50=; b=An3dbnuz8Y2kYceMu+5J3RHRtWIyz/MSu39Ku/aDQPYgF9FWb8v5i6DTHV6IuFUg/b gHrqwMXHRYKEvKl+56LY6rD+NcM8Ty1CsJhozikVYUBGdHFb3JKOlW3GFQWg7aFlBL5k 35Yp2kwy+GleaAZdZC0i5nhsomjRBgZjgs0W6rTYsxA0mQ2/1nVL5a0tury9/GjdUrSQ hckDggE6sa7LrK/Eu3zzkxEdXFJWk8BWgTn6fwO5yrmsmYIwuwIDKwOSgiIIju60Q4pf NCW5B2kZ+SIsg0s1dmR+l+/r4CcPZsbMzLQVRqivNU3dJPOUPfICJpIdkKrGllrPtxaN PTlg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n23si15805739ejr.458.2021.04.06.04.34.48; Tue, 06 Apr 2021 04:35:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238034AbhDFBM5 (ORCPT + 99 others); Mon, 5 Apr 2021 21:12:57 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14693 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232930AbhDFBM4 (ORCPT ); Mon, 5 Apr 2021 21:12:56 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4FDqFR0jbNznXlK; Tue, 6 Apr 2021 09:10:03 +0800 (CST) Received: from [10.67.103.10] (10.67.103.10) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 09:12:40 +0800 Subject: Re: [PATCH] ecc: delete a useless function declaration To: Christophe Leroy , , CC: , , References: <1617357357-11828-1-git-send-email-yumeng18@huawei.com> <3fbc88c4-50ae-3ffb-14e5-0cd39d492251@csgroup.eu> From: yumeng Message-ID: <0e272e6e-6cb0-2c03-86c3-08d54690c97e@huawei.com> Date: Tue, 6 Apr 2021 09:12:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: <3fbc88c4-50ae-3ffb-14e5-0cd39d492251@csgroup.eu> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.10] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 在 2021/4/2 18:34, Christophe Leroy 写道: > > > 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 > Yes, you are right, thank you. >> 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 >> > .