mbedtls_mpi_mod_inv() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

\c 0 if successful. #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if \p A and \p N do not have the same number of limbs. #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if \p A is zero. #MBEDTLS_ERR_MPI_ALLOC_FAILED if couldn't allocate enough memory (needed for conversion to and from Mongtomery form when not in Montgomery form already, and for temporary use by the inversion calculation itself).

References