mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 13:43:31 +00:00
mbedtls_mpi_mod_raw_neg: Updated documentation.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
parent
78665eba8f
commit
5e8443e6ef
@ -236,17 +236,16 @@ int mbedtls_mpi_mod_raw_from_mont_rep( mbedtls_mpi_uint *X,
|
|||||||
|
|
||||||
/** \brief Perform fixed width modular negation.
|
/** \brief Perform fixed width modular negation.
|
||||||
*
|
*
|
||||||
* The size of the operation is determined by \p N. \p A must have
|
* The size of the operation is determined by \p m. \p A must have
|
||||||
* the same number of limbs as \p N.
|
* the same number of limbs as \p m.
|
||||||
*
|
*
|
||||||
* \p X may be aliased to \p A.
|
* \p X may be aliased to \p A.
|
||||||
*
|
*
|
||||||
* \param[out] X The result of the modular negation.
|
* \param[out] X The result of the modular negation.
|
||||||
* This must be initialized. Must have enough limbs to
|
* This must be initialized.
|
||||||
* store the full value of the result.
|
|
||||||
* \param[in] A Little-endian presentation of the input operand. This
|
* \param[in] A Little-endian presentation of the input operand. This
|
||||||
* must be smaller or equal to \p N.
|
* must be less than or equal to \p m.
|
||||||
* \param[in] m The address of the modulus related to \p A.
|
* \param[in] m The modulus to use.
|
||||||
*/
|
*/
|
||||||
void mbedtls_mpi_mod_raw_neg( mbedtls_mpi_uint *X,
|
void mbedtls_mpi_mod_raw_neg( mbedtls_mpi_uint *X,
|
||||||
const mbedtls_mpi_uint *A,
|
const mbedtls_mpi_uint *A,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user