bignum_core.h: Comment update for mbedtls_mpi_core_get_mont_R2_unsafe
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
diff --git a/library/bignum_core.h b/library/bignum_core.h
index 57f27dd..d46aea3 100644
--- a/library/bignum_core.h
+++ b/library/bignum_core.h
@@ -413,11 +413,12 @@
mbedtls_mpi_uint mm, mbedtls_mpi_uint *T );
/**
- * \brief Calculate initialisation value for fast Montgomery modular
- * multiplication
+ * \brief Calculate the square of the Montgomery constant. (Needed
+ * for conversion and operations in Montgomery form.)
*
* \param[out] X A pointer to the result of the calculation of
- * Montgomery const 2^{2*n*biL} mod N.
+ * the square of the Montgomery constant:
+ * 2^{2*n*biL} mod N.
* \param[in] N Little-endian presentation of the modulus, which must be odd.
*
* \return 0 if successful.