Skip to content

Commit

Permalink
crypto: ecc - delete a useless function declaration
Browse files Browse the repository at this point in the history
This function declaration has been added in 'ecc_curve.h',
delete it in 'crypto/ecc.h'.

Fixes: 4e66029(crypto: ecdsa - Add support for ECDSA ...)
Signed-off-by: Meng Yu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
yumeng0117 authored and herbertx committed Apr 16, 2021
1 parent 16a9874 commit fa07c1a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions crypto/ecc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit fa07c1a

Please sign in to comment.