Function esp_idf_sys::mbedtls_entropy_update_seed_file
source ยท pub unsafe extern "C" fn mbedtls_entropy_update_seed_file(
ctx: *mut mbedtls_entropy_context,
path: *const c_char,
) -> c_int
Expand description
\brief Read and update a seed file. Seed is added to this instance. No more than MBEDTLS_ENTROPY_MAX_SEED_SIZE bytes are read from the seed file. The rest is ignored.
\param ctx Entropy context \param path Name of the file
\return 0 if successful, MBEDTLS_ERR_ENTROPY_FILE_IO_ERROR on file error, MBEDTLS_ERR_ENTROPY_SOURCE_FAILED