Skip to main content

mbedtls_hmac_drbg_set_reseed_interval

Function mbedtls_hmac_drbg_set_reseed_interval 

Source
pub unsafe extern "C" fn mbedtls_hmac_drbg_set_reseed_interval(
    ctx: *mut mbedtls_hmac_drbg_context,
    interval: c_int,
)
Expand description

\brief Set the reseed interval.

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

The default value is #MBEDTLS_HMAC_DRBG_RESEED_INTERVAL.

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