Change dhm_calc_secret() prototype
diff --git a/include/polarssl/dhm.h b/include/polarssl/dhm.h
index da787c3..4d7bd8a 100644
--- a/include/polarssl/dhm.h
+++ b/include/polarssl/dhm.h
@@ -219,11 +219,15 @@
* \param ctx DHM context
* \param output destination buffer
* \param olen number of chars written
+ * \param f_rng RNG function, for blinding purposes
+ * \param p_rng RNG parameter
*
* \return 0 if successful, or an POLARSSL_ERR_DHM_XXX error code
*/
int dhm_calc_secret( dhm_context *ctx,
- unsigned char *output, size_t *olen );
+ unsigned char *output, size_t *olen,
+ int (*f_rng)(void *, unsigned char *, size_t),
+ void *p_rng );
/**
* \brief Free the components of a DHM key