Function esp_idf_sys::mbedtls_ctr_drbg_update_seed_file

source ยท
pub unsafe extern "C" fn mbedtls_ctr_drbg_update_seed_file(
    ctx: *mut mbedtls_ctr_drbg_context,
    path: *const c_char,
) -> c_int
Expand description

\brief This function reads and updates a seed file. The seed is added to this instance.

\param ctx The CTR_DRBG context. \param path The name of the file.

\return \c 0 on success. \return #MBEDTLS_ERR_CTR_DRBG_FILE_IO_ERROR on file error. \return #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED on reseed failure. \return #MBEDTLS_ERR_CTR_DRBG_INPUT_TOO_BIG if the existing seed file is too large.