mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 23:45:41 +01:00
Updated documentation for seed functions w.r.t. return values
This commit is contained in:
parent
22a0ce0cef
commit
ec8e5db1cf
@ -199,7 +199,8 @@ int ctr_drbg_random( void *p_rng,
|
|||||||
*
|
*
|
||||||
* \param path Name of the file
|
* \param path Name of the file
|
||||||
*
|
*
|
||||||
* \return 0 if successful, 1 on file error, or
|
* \return 0 if successful,
|
||||||
|
* POLARSSL_ERR_CTR_DRBG_FILE_IO_ERROR on file error, or
|
||||||
* POLARSSL_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED
|
* POLARSSL_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED
|
||||||
*/
|
*/
|
||||||
int ctr_drbg_write_seed_file( ctr_drbg_context *ctx, const char *path );
|
int ctr_drbg_write_seed_file( ctr_drbg_context *ctx, const char *path );
|
||||||
@ -210,7 +211,8 @@ int ctr_drbg_write_seed_file( ctr_drbg_context *ctx, const char *path );
|
|||||||
*
|
*
|
||||||
* \param path Name of the file
|
* \param path Name of the file
|
||||||
*
|
*
|
||||||
* \return 0 if successful, 1 on file error,
|
* \return 0 if successful,
|
||||||
|
* POLARSSL_ERR_CTR_DRBG_FILE_IO_ERROR on file error,
|
||||||
* POLARSSL_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED or
|
* POLARSSL_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED or
|
||||||
* POLARSSL_ERR_CTR_DRBG_INPUT_TOO_BIG
|
* POLARSSL_ERR_CTR_DRBG_INPUT_TOO_BIG
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user