Clarify documentation a bit

This commit is contained in:
Manuel Pégourié-Gonnard 2014-11-21 09:14:52 +01:00
parent 3e9449350c
commit 150c4f62f1

View File

@ -413,6 +413,8 @@ int ecp_point_read_binary( const ecp_group *grp, ecp_point *P,
* \param buf $(Start of input buffer) * \param buf $(Start of input buffer)
* \param len Buffer length * \param len Buffer length
* *
* \note buf is updated to point right after the ECPoint on exit
*
* \return O if successful, * \return O if successful,
* POLARSSL_ERR_MPI_XXX if initialization failed * POLARSSL_ERR_MPI_XXX if initialization failed
* POLARSSL_ERR_ECP_BAD_INPUT_DATA if input is invalid * POLARSSL_ERR_ECP_BAD_INPUT_DATA if input is invalid
@ -479,6 +481,8 @@ int ecp_use_known_dp( ecp_group *grp, ecp_group_id index );
* \param buf &(Start of input buffer) * \param buf &(Start of input buffer)
* \param len Buffer length * \param len Buffer length
* *
* \note buf is updated to point right after ECParameters on exit
*
* \return O if successful, * \return O if successful,
* POLARSSL_ERR_MPI_XXX if initialization failed * POLARSSL_ERR_MPI_XXX if initialization failed
* POLARSSL_ERR_ECP_BAD_INPUT_DATA if input is invalid * POLARSSL_ERR_ECP_BAD_INPUT_DATA if input is invalid