mbedtls_hmac_drbg_update_seed_file() function
This function reads and updates a seed file. The seed is added to this instance.
Arguments
ctx
The HMAC_DRBG context.
path
The name of the file.
Return value
\c 0 on success. #MBEDTLS_ERR_HMAC_DRBG_FILE_IO_ERROR on file error. #MBEDTLS_ERR_HMAC_DRBG_ENTROPY_SOURCE_FAILED on reseed failure. #MBEDTLS_ERR_HMAC_DRBG_INPUT_TOO_BIG if the existing seed file is too large.
mbedtls_hmac_drbg_update_seed_file() calls 3 functions:
![]()
mbedtls_hmac_drbg_update_seed_file()
mbedtls_hmac_drbg_update_seed_file():
![]()
mbedtls_hmac_drbg_update_seed_file()