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

Return value

\c 0 if successful. #MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL if \p buf isn't large enough to hold the value of \p r (without leading zeroes). #MBEDTLS_ERR_MPI_BAD_INPUT_DATA if \p ext_rep is invalid. #MBEDTLS_ERR_MPI_ALLOC_FAILED if couldn't allocate enough memory for conversion. Can occur only for moduli with MBEDTLS_MPI_MOD_REP_MONTGOMERY.

References