|
@@ -44,7 +44,7 @@ int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits,
|
|
|
const u64 *private_key, unsigned int private_key_len);
|
|
|
|
|
|
/**
|
|
|
- * ecdh_make_pub_key() - Compute an ECC public key
|
|
|
+ * ecc_make_pub_key() - Compute an ECC public key
|
|
|
*
|
|
|
* @curve_id: id representing the curve to use
|
|
|
* @ndigits: curve's number of digits
|
|
@@ -54,8 +54,8 @@ int ecc_is_key_valid(unsigned int curve_id, unsigned int ndigits,
|
|
|
* Returns 0 if the public key was generated successfully, a negative value
|
|
|
* if an error occurred.
|
|
|
*/
|
|
|
-int ecdh_make_pub_key(const unsigned int curve_id, unsigned int ndigits,
|
|
|
- const u64 *private_key, u64 *public_key);
|
|
|
+int ecc_make_pub_key(const unsigned int curve_id, unsigned int ndigits,
|
|
|
+ const u64 *private_key, u64 *public_key);
|
|
|
|
|
|
/**
|
|
|
* crypto_ecdh_shared_secret() - Compute a shared secret
|