Supress 'format' argument to ecp_read_binary.
And adjust error codes for ecp_*_binary while at it.
diff --git a/include/polarssl/ecp.h b/include/polarssl/ecp.h
index 59afd63..7973901 100644
--- a/include/polarssl/ecp.h
+++ b/include/polarssl/ecp.h
@@ -256,7 +256,6 @@
*
* \param grp Group to which the point should belong
* \param P Point to import
- * \param format Point format, must be POLARSSL_ECP_PF_UNCOMPRESSED for now
* \param buf Input buffer
* \param ilen Actual length of input
*
@@ -268,7 +267,7 @@
* belongs to the given group, see ecp_check_pubkey() for
* that.
*/
-int ecp_read_binary( const ecp_group *grp, ecp_point *P, int format,
+int ecp_read_binary( const ecp_group *grp, ecp_point *P,
const unsigned char *buf, size_t ilen );
/**