Function esp_idf_sys::mbedtls_ctr_drbg_set_reseed_interval

source ยท
pub unsafe extern "C" fn mbedtls_ctr_drbg_set_reseed_interval(
    ctx: *mut mbedtls_ctr_drbg_context,
    interval: c_int,
)
Expand description

\brief This function sets the reseed interval.

The reseed interval is the number of calls to mbedtls_ctr_drbg_random() or mbedtls_ctr_drbg_random_with_add() after which the entropy function is called again.

The default value is #MBEDTLS_CTR_DRBG_RESEED_INTERVAL.

\param ctx The CTR_DRBG context. \param interval The reseed interval.