Function esp_idf_sys::mbedtls_ctr_drbg_write_seed_file

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

\brief This function writes a seed file.

\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.