bignum_mod: Updated optred_modulus_setup
to use function input.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
parent
c6e68ed85d
commit
be1bf15f76
2 changed files with 5 additions and 5 deletions
|
@ -214,14 +214,14 @@ int mbedtls_mpi_mod_modulus_setup(mbedtls_mpi_mod_modulus *N,
|
|||
* not be modified in any way until after
|
||||
* mbedtls_mpi_mod_modulus_free() is called.
|
||||
* \param p_limbs The number of limbs of \p p.
|
||||
* \param ored The optimized reduction structure to use. \p p.
|
||||
* \param modp A pointer to the optimised reduction function to use. \p p.
|
||||
*
|
||||
* \return \c 0 if successful.
|
||||
*/
|
||||
int mbedtls_mpi_mod_optred_modulus_setup(mbedtls_mpi_mod_modulus *N,
|
||||
const mbedtls_mpi_uint *p,
|
||||
size_t p_limbs,
|
||||
mbedtls_mpi_opt_red_struct *ored);
|
||||
int (*modp)(mbedtls_mpi *));
|
||||
|
||||
/** Free elements of a modulus structure.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue