pub unsafe extern "C" fn mbedtls_ctr_drbg_set_prediction_resistance(
ctx: *mut mbedtls_ctr_drbg_context,
resistance: c_int,
)
Expand description
\brief This function turns prediction resistance on or off. The default value is off.
\note If enabled, entropy is gathered at the beginning of every call to mbedtls_ctr_drbg_random_with_add() or mbedtls_ctr_drbg_random(). Only use this if your entropy source has sufficient throughput.
\param ctx The CTR_DRBG context. \param resistance #MBEDTLS_CTR_DRBG_PR_ON or #MBEDTLS_CTR_DRBG_PR_OFF.