[][src]Function fuchsia_cprng::cprng_draw

pub fn cprng_draw(buffer: &mut [u8])

Draw random bytes from the kernel's CPRNG to fill the given buffer. Returns the actual number of bytes drawn, which is always the size of the buffer provided.

Wraps the zx_cprng_draw syscall.