Skip to contentSkip to conversation

ecc: delete a useless function declaration

PATCH In review Meng Yu 2 participants 2 messages Apr 6, 2021 – Apr 16, 2021

Subsystems (2)
lore
Share & tools
lore

Meng Yu

author
#0 lore raw

PATCH v2 1/1 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 ...)

---

v1 -> v2: Modify the 'Fixes tag' from '14bb76768275' to '4e6602916bc6 '.

---
 crypto/ecc.h | 8 --------
 1 file changed, 8 deletions(-)
crypto/ecc.h +0 -8
index 46aa9bc..a006132 100644
@@ -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
Signature · 1 line
2.8.1
maintainer
#1 lore raw
Quoted 5 lines · Meng Yu

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

Fixes 4e6602916bc6(crypto: ecdsa - Add support for ECDSA ...)
Quoted 7 lines

---

v1 -> v2: Modify the 'Fixes tag' from '14bb76768275' to '4e6602916bc6 '.

---
 crypto/ecc.h | 8 --------
 1 file changed, 8 deletions(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt