From 150c4f62f18389cef133bd078f306cfd807b1551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Fri, 21 Nov 2014 09:14:52 +0100 Subject: [PATCH] Clarify documentation a bit --- include/polarssl/ecp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/polarssl/ecp.h b/include/polarssl/ecp.h index 9b83bc51b..6dec5bd9c 100644 --- a/include/polarssl/ecp.h +++ b/include/polarssl/ecp.h @@ -413,6 +413,8 @@ int ecp_point_read_binary( const ecp_group *grp, ecp_point *P, * \param buf $(Start of input buffer) * \param len Buffer length * + * \note buf is updated to point right after the ECPoint on exit + * * \return O if successful, * POLARSSL_ERR_MPI_XXX if initialization failed * 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 len Buffer length * + * \note buf is updated to point right after ECParameters on exit + * * \return O if successful, * POLARSSL_ERR_MPI_XXX if initialization failed * POLARSSL_ERR_ECP_BAD_INPUT_DATA if input is invalid