Change mbedtls_mpi_core_exp_mod to constant time
Signed-off-by: Waleed Elmelegy <waleed.elmelegy@arm.com>
diff --git a/library/bignum_core.h b/library/bignum_core.h
index 818ca7a..51ecca5 100644
--- a/library/bignum_core.h
+++ b/library/bignum_core.h
@@ -621,6 +621,9 @@
* \p X may be aliased to \p A, but not to \p RR or \p E, even if \p E_limbs ==
* \p AN_limbs.
*
+ * This function operates in constant time with respect
+ * to the values of \p A, \p N and \p E.
+ *
* \param[out] X The destination MPI, as a little endian array of length
* \p AN_limbs.
* \param[in] A The base MPI, as a little endian array of length \p AN_limbs.