Function esp_idf_sys::mbedtls_ctr_drbg_random
source ยท pub unsafe extern "C" fn mbedtls_ctr_drbg_random(
p_rng: *mut c_void,
output: *mut c_uchar,
output_len: usize,
) -> c_int
Expand description
\param p_rng The CTR_DRBG context. This must be a pointer to a #mbedtls_ctr_drbg_context structure. \param output The buffer to fill. \param output_len The length of the buffer in bytes.
\return \c 0 on success. \return #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED or #MBEDTLS_ERR_CTR_DRBG_REQUEST_TOO_BIG on failure.