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

Return value

\c 0 if successful. #MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL if the target buffer \p buf is too small to hold the value of \p X in the desired base. In this case, `*olen` is nonetheless updated to contain the size of \p buf required for a successful call. Another negative error code on different kinds of failure.

Notes

You can call this function with `buflen == 0` to obtain the minimum required buffer size in `*olen`.

References

from examples