Function esp_idf_svc::sys::mbedtls_ssl_conf_rng
source ยท pub unsafe extern "C" fn mbedtls_ssl_conf_rng(
conf: *mut mbedtls_ssl_config,
f_rng: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: usize) -> i32>,
p_rng: *mut c_void,
)
Expand description
\brief Set the random number generator callback
\param conf SSL configuration \param f_rng RNG function (mandatory) \param p_rng RNG parameter