Function ctru_sys::FSPXI_GenerateRandomBytes
source · pub unsafe extern "C" fn FSPXI_GenerateRandomBytes(
serviceHandle: Handle,
buffer: *mut c_void,
size: u32_
) -> Result
Expand description
Generates random bytes. Uses same code as PSPXI_GenerateRandomBytes
§Arguments
buf
- Buffer to output random bytes to.size
- Size of buffer.