From: Meng Yu Date: Tue, 6 Apr 2021 02:32:59 +0000 (+0800) Subject: crypto: ecc - delete a useless function declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=fa07c1a30be7144f5d3292208f5d58799c92189f;p=linux.git crypto: ecc - delete a useless function declaration 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 Signed-off-by: Herbert Xu --- diff --git a/crypto/ecc.h b/crypto/ecc.h index 46aa9bc03ddc3..a006132646a43 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 *