Skip to content

Commit

Permalink
Fix doc regarding aliasing of modulus input to mbedtls_mpi_core_montm…
Browse files Browse the repository at this point in the history
…ul()

Signed-off-by: Tom Cosgrove <[email protected]>
  • Loading branch information
tom-cosgrove-arm committed Sep 29, 2022
1 parent 4386ead commit 6da3a3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/bignum_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,8 @@ mbedtls_mpi_uint mbedtls_mpi_core_montmul_init( const mbedtls_mpi_uint *N );
* \param[in] N Little-endian presentation of the modulus.
* This must be odd, and have exactly the same number
* of limbs as \p A.
* It must not alias or otherwise overlap any of the
* other parameters.
* It may alias \p X, but must not alias or otherwise
* overlap any of the other parameters.
* \param[in] AN_limbs The number of limbs in \p X, \p A and \p N.
* \param mm The Montgomery constant for \p N: -N^-1 mod 2^biL.
* This can be calculated by `mbedtls_mpi_core_montmul_init()`.
Expand Down

0 comments on commit 6da3a3b

Please sign in to comment.