Commit fa07c1a3 authored by Meng Yu's avatar Meng Yu Committed by Herbert Xu
Browse files

crypto: ecc - delete a useless function declaration



This function declaration has been added in 'ecc_curve.h',
delete it in 'crypto/ecc.h'.

Fixes: 4e660291(crypto: ecdsa - Add support for ECDSA ...)
Signed-off-by: default avatarMeng Yu <yumeng18@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 16a9874f
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -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
 *