mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 04:55:51 +01:00
- Only define mpi_read_file and mpi_write_file if POLARSSL_FS_IO is present
This commit is contained in:
parent
0f5281a35b
commit
2b6af2fbf0
@ -299,6 +299,7 @@ int mpi_read_string( mpi *X, int radix, const char *s );
|
|||||||
*/
|
*/
|
||||||
int mpi_write_string( const mpi *X, int radix, char *s, size_t *slen );
|
int mpi_write_string( const mpi *X, int radix, char *s, size_t *slen );
|
||||||
|
|
||||||
|
#if defined(POLARSSL_FS_IO)
|
||||||
/**
|
/**
|
||||||
* \brief Read X from an opened file
|
* \brief Read X from an opened file
|
||||||
*
|
*
|
||||||
@ -325,6 +326,7 @@ int mpi_read_file( mpi *X, int radix, FILE *fin );
|
|||||||
* \note Set fout == NULL to print X on the console.
|
* \note Set fout == NULL to print X on the console.
|
||||||
*/
|
*/
|
||||||
int mpi_write_file( const char *p, const mpi *X, int radix, FILE *fout );
|
int mpi_write_file( const char *p, const mpi *X, int radix, FILE *fout );
|
||||||
|
#endif /* POLARSSL_FS_IO */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Import X from unsigned binary data, big endian
|
* \brief Import X from unsigned binary data, big endian
|
||||||
|
Loading…
Reference in New Issue
Block a user