Function ctru_sys::FSPXI_CalculateFileHashSHA256
source · pub unsafe extern "C" fn FSPXI_CalculateFileHashSHA256(
serviceHandle: Handle,
file: FSPXI_File,
buffer: *mut c_void,
size: u32_
) -> Result
Expand description
Calculate SHA256 of a file.
§Arguments
file
- File to calculate the hash of.buffer
- Buffer to output the hash to.size
- Size of the buffer.