Function zx::cprng_draw_uninit
source · pub fn cprng_draw_uninit(buffer: &mut [MaybeUninit<u8>]) -> &mut [u8] ⓘ
Expand description
Draw random bytes from the kernel’s CPRNG to fill buffer
. This function
always fills the buffer.
Wraps the zx_cprng_draw syscall.
Returns the filled buffer.