author: Meng Yu <yumeng18@huawei.com> 2021-04-06 10:32:59 +0800
committer: Herbert Xu <herbert@gondor.apana.org.au> 2021-04-16 21:16:31 +1000
commit: fa07c1a30be7144f5d3292208f5d58799c92189f
parent: 16a9874fe468855e8ddd72883ca903f706d0a9d0
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 8 deletions
diff --git a/crypto/ecc.h b/crypto/ecc.h
index 46aa9bc03ddc..a006132646a4 100644
--- a/crypto/ecc.h
+++ b/crypto/ecc.h
@@ -55,14 +55,6 @@ static inline void ecc_swap_digits(const u64 *in, u64 *out, unsigned int ndigits
out[i] = be64_to_cpu(src[ndigits - 1 - i]);
}
-/**
- * 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
*