Fix documentation

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei 2022-12-16 16:35:24 +01:00
parent b31b2e62ec
commit 210ea63d8b
No known key found for this signature in database
GPG key ID: F072ACA227ACD71D

View file

@ -173,7 +173,7 @@ void mbedtls_mpi_mod_raw_sub( mbedtls_mpi_uint *X,
/** \brief Multiply two MPIs, returning the residue modulo the specified
* modulus.
*
* \note Currently handles the case when `m->int_rep` is
* \note Currently handles the case when `N->int_rep` is
* MBEDTLS_MPI_MOD_REP_MONTGOMERY.
*
* The size of the operation is determined by \p N. \p A, \p B and \p X must
@ -193,7 +193,7 @@ void mbedtls_mpi_mod_raw_sub( mbedtls_mpi_uint *X,
* \param[in] B The address of the second MPI.
* \param[in] N The address of the modulus. Used to perform a modulo
* operation on the result of the multiplication.
* \param[in,out] T Temporary storage of size at least 2 * AN_limbs + 1
* \param[in,out] T Temporary storage of size at least 2 * N->limbs + 1
* limbs. Its initial content is unused and
* its final content is indeterminate.
* It must not alias or otherwise overlap any of the