mbedtls_mpi_write_file() function
Export an MPI into an opened file.
Arguments
p
A string prefix to emit prior to the MPI data. For example, this might be a label, or "0x" when printing in base \c 16. This may be \c NULL if no prefix is needed.
X
The source MPI. This must point to an initialized MPI.
radix
The numeric base to be used in the emitted string.
fout
The output file handle. This may be \c NULL, in which case the output is written to \c stdout.
Return value
\c 0 if successful. A negative error code on failure.
mbedtls_mpi_write_file() calls 1 function:
![]()
mbedtls_mpi_write_file()
mbedtls_mpi_write_file():
![]()
mbedtls_mpi_write_file()