Document in-out param of dhm_calc_secret()

This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-25 13:03:50 +02:00 committed by Paul Bakker
parent 002bc86718
commit ff9e1a4aa4

View file

@ -218,7 +218,8 @@ int dhm_make_public( dhm_context *ctx, int x_size,
* *
* \param ctx DHM context * \param ctx DHM context
* \param output destination buffer * \param output destination buffer
* \param olen number of chars written * \param olen on entry, must hold the size of the destination buffer
* on exit, holds the actual number of bytes written
* *
* \return 0 if successful, or an POLARSSL_ERR_DHM_XXX error code * \return 0 if successful, or an POLARSSL_ERR_DHM_XXX error code
*/ */