diff --git a/include/polarssl/dhm.h b/include/polarssl/dhm.h index c6c2d8feb..322a78860 100644 --- a/include/polarssl/dhm.h +++ b/include/polarssl/dhm.h @@ -237,7 +237,8 @@ int dhm_make_public( dhm_context *ctx, int x_size, * * \param ctx DHM context * \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 * \param f_rng RNG function, for blinding purposes * \param p_rng RNG parameter *