Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3962018pxf; Tue, 6 Apr 2021 04:56:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxdlD1gcuWMQUbec0xRlylnYjvkhpI6c5geyGN7FVcjHqyQYlFKOh0OziX7oYtqelZzU1+k X-Received: by 2002:a05:6402:514c:: with SMTP id n12mr9735566edd.224.1617710196830; Tue, 06 Apr 2021 04:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617710196; cv=none; d=google.com; s=arc-20160816; b=CdannTWBNEf8LvsFX+rzOM7QlVECblyuo/S/TjjvynD9LqyassUEXW7crUr7DFFTYp Fm5ut+wWmaeEMw5gAQD8PxVLr18Uvw9traSRNeZaMEUxo7xBUfjdTOveGG513L7lgyp3 nSJLIzo0/asymIYIw5u9dSdBwmMSC3VAmU37zKz5VEgRFZ+1RS9+sCDCZDiGxx1kLQJ/ +aGdv+r7Wm9N560iTEXj39vGrOBzLSMxUz3dxK/5Sm1sKcspAAATWJCiEolnbgilKZak kweBamToRRvupTTXCaOXuNVMy5nWaDjR9cIGpG07lIYHoAfB1nFpiHrjqmJNZQ9lQYAL 8quA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=yFU0amVcN5ZIBqSOIucd1j68lcOEYc4JoEGiQ6EDvx0=; b=iKCMMsSAfPveGGpknchhrRs1zloOA9hOha6w6TQM3dh4Dwal233bN7zZjHr3Oz3Eck p7w7/bQ/xnjAEMsjZ5zg7WE15wZi1B4KUAH9kmXnl8aq+nvo3wW+dYuTcHfq3r5XheeJ dUoBl+LzCJATnXjnOsD9px9bYJcEqBxxsDwSDNHqtBA+/HrRmU2DWqJLIJ609iIxKkf7 fXfCLjTcXxr2G/tj0JnIhE3SQkixn1JaKg/22eRLwUWVwor2meor5bLeDqGHS+/IEwrT UwlOKUp74VQph4698Hh79aZ7UINtPKZcuW1HteUVXqWL1Rc6KEm4GezaK4Yb4hgIJVRY i8Iw== 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 u26si9706282ejf.595.2021.04.06.04.56.06; Tue, 06 Apr 2021 04:56:36 -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 S243391AbhDFCfz (ORCPT + 99 others); Mon, 5 Apr 2021 22:35:55 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:15911 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232271AbhDFCfz (ORCPT ); Mon, 5 Apr 2021 22:35:55 -0400 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FDs6J37KyzkZBj; Tue, 6 Apr 2021 10:34:00 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.498.0; Tue, 6 Apr 2021 10:35:35 +0800 From: Meng Yu To: , CC: , , , Subject: [PATCH v2] ecc: delete a useless function declaration Date: Tue, 6 Apr 2021 10:32:59 +0800 Message-ID: <1617676379-18079-1-git-send-email-yumeng18@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This function declaration has been added in 'ecc_curve.h', delete it in 'crypto/ecc.h'. Fixes: 4e6602916bc6(crypto: ecdsa - Add support for ECDSA ...) Signed-off-by: Meng Yu --- v1 -> v2: Modify the 'Fixes tag' from '14bb76768275' to '4e6602916bc6 '. --- 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 -- 2.8.1