Skip to main content

mbedtls_hmac_drbg_init

Function mbedtls_hmac_drbg_init 

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

\brief HMAC_DRBG context initialization.

This function makes the context ready for mbedtls_hmac_drbg_seed(), mbedtls_hmac_drbg_seed_buf() or mbedtls_hmac_drbg_free().

\note The reseed interval is #MBEDTLS_HMAC_DRBG_RESEED_INTERVAL by default. Override this value by calling mbedtls_hmac_drbg_set_reseed_interval().

\param ctx HMAC_DRBG context to be initialized.