Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1160575pxf; Fri, 2 Apr 2021 02:59:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwr+GtY6cMj3X9nEfK9PqNxzzSzFQpnfpReUSlQDRaiN0hlK/eDPqvapxnt7Ga+NeWEPhPw X-Received: by 2002:a05:6e02:13e2:: with SMTP id w2mr10091965ilj.233.1617357543545; Fri, 02 Apr 2021 02:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617357543; cv=none; d=google.com; s=arc-20160816; b=clsghdp69umBJ/P6pZO4uKUPoljAui9F1aFOcaZw//VCUgl30lRUn0iIewDPq5Vkn8 WHz1BOUTTcR0G6vlh6UWvcJCx4Is3c/RgGSdLbWq5UojQx/9ouKsQDePDRNH8+V6F3vM 3eX+F+PM7d+0aRaOqKMQ5np+A/HtzfJWO7EYgwtdKk49hvDzwf9OYUD1C1snT0KEHZ3P 9rc2V35yjma+Mbl+bTUoK60l66eDfeIdh7fjKHjcmQOW0mVNQnpjDqOCT4K8CFfVzlyq kRbd7wdANn8w9775bkHX5t8DhSHcYwYNAvSh4A2GAL9CoMXshUK0pv9YTPlgh6ZBhgkr hRPA== 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=AL2bx0pBAPg7CEh1MzsOT9CzX4VXwe52mO9YcLs9Kz4=; b=N0XRweZX9rPBEcwX9KwqvhsecIyVxAAzVKdBt+x3iSD6LcI1fFkzZAVTeXVEHah/JR WgBAc7KEAicBcsCLh4Os6gIhfK49EDNsfpxYAuPgAgspVj3zzahup/G56L/OjHduaJWF 1yiujAKU0iYbBGgBtHEacyxdrMzDBKPVIO28L0GdvY1vapsCCUxIEyUOzAlNjNJV47+9 C/Bo6js3OEviR0BrTy1RcVR1LFpJEt9HBqiuliB42HU9fSxRByZ5nZkVcT8+9r+wrVDV coBCDCatEMw0drm1DJsH96SQv8oqaP+I3YPpc2G56m9dJkBFgVqw0JX8IwGk1rrhcM+X EsmA== 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 h28si7038618jav.61.2021.04.02.02.58.48; Fri, 02 Apr 2021 02:59:03 -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 S229932AbhDBJ6o (ORCPT + 99 others); Fri, 2 Apr 2021 05:58:44 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:15904 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbhDBJ6o (ORCPT ); Fri, 2 Apr 2021 05:58:44 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FBb7G454zzkhMs; Fri, 2 Apr 2021 17:56:58 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.498.0; Fri, 2 Apr 2021 17:58:31 +0800 From: Meng Yu To: , CC: , , , Subject: [PATCH] ecc: delete a useless function declaration Date: Fri, 2 Apr 2021 17:55:57 +0800 Message-ID: <1617357357-11828-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: 14bb76768275(crypto: ecc - expose ecc curves) 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 -- 2.8.1