mbedtls_ctr_drbg_random() function
Arguments
p_rng
The CTR_DRBG context. This must be a pointer to a #mbedtls_ctr_drbg_context structure.
output
The buffer to fill.
output_len
The length of the buffer in bytes.
Return value
\c 0 on success. #MBEDTLS_ERR_CTR_DRBG_ENTROPY_SOURCE_FAILED or #MBEDTLS_ERR_CTR_DRBG_REQUEST_TOO_BIG on failure.
mbedtls_ctr_drbg_random() is called by 3 functions and calls 1 function:
![]()
mbedtls_ctr_drbg_random()
mbedtls_ctr_drbg_random():
![]()
mbedtls_ctr_drbg_random()