Function ctru_sys::PS_GenerateRandomBytes
source · pub unsafe extern "C" fn PS_GenerateRandomBytes(
out: *mut c_void,
len: usize
) -> Result
Expand description
Generates cryptographically secure random bytes.
§Arguments
out
- Pointer to the buffer to write the bytes to.len
- Number of bytes to write.