Function esp_idf_svc::sys::esp_fill_random

source ยท
pub unsafe extern "C" fn esp_fill_random(buf: *mut c_void, len: usize)
Expand description

@brief Fill a buffer with random bytes from hardware RNG

@note This function is implemented via calls to esp_random(), so the same constraints apply.

@param buf Pointer to buffer to fill with random numbers. @param len Length of buffer in bytes