Renamings and other fixes
diff --git a/include/polarssl/ecp.h b/include/polarssl/ecp.h
index e79b0bc..b35b0d1 100644
--- a/include/polarssl/ecp.h
+++ b/include/polarssl/ecp.h
@@ -222,13 +222,23 @@
#define POLARSSL_ECP_TLS_NAMED_CURVE 3 /**< ECCurveType's named_curve */
/**
- * \brief Return the list of supported curves with associated info
+ * \brief Get the list of supported curves in order of preferrence
+ * (full information)
*
* \return A statically allocated array, the last entry is 0.
*/
const ecp_curve_info *ecp_curve_list( void );
/**
+ * \brief Get the list of supported curves in order of preferrence
+ * (grp_id only)
+ *
+ * \return A statically allocated array,
+ * terminated with POLARSSL_ECP_DP_NONE.
+ */
+const ecp_group_id *ecp_grp_id_list( void );
+
+/**
* \brief Get curve information from an internal group identifier
*
* \param grp_id A POLARSSL_ECP_DP_XXX value
@@ -256,13 +266,6 @@
const ecp_curve_info *ecp_curve_info_from_name( const char *name );
/**
- * \brief Get the default ECDH curve list
- *
- * \return The default ECDH curve list
- */
-ecp_group_id *ecp_get_default_echd_curve_list( void );
-
-/**
* \brief Initialize a point (as zero)
*/
void ecp_point_init( ecp_point *pt );