diff options
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 | c5024dbccdd88924012965439f9ebaa7c66a3dab (patch) | |
tree | 5e7485cd3c70619ec166f6bb845048cf4b9c4be8 /crypto | |
parent | 9c9952ec399d391d316cc6e9cca1b8b7803e7e88 (diff) | |
download | linux-crypto-c5024dbccdd88924012965439f9ebaa7c66a3dab.tar.gz linux-crypto-c5024dbccdd88924012965439f9ebaa7c66a3dab.zip |
crypto: ecc - delete a useless function declaration
This function declaration has been added in 'ecc_curve.h',
delete it in 'crypto/ecc.h'.
Fixes: ef4af956b9d0(crypto: ecdsa - Add support for ECDSA ...)
Signed-off-by: Meng Yu <yumeng18@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ecc.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/ecc.h b/crypto/ecc.h index 46aa9bc0..a0061326 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 |