Function ctru_sys::FSPXI_CalcSavegameMAC
source · pub unsafe extern "C" fn FSPXI_CalcSavegameMAC(
serviceHandle: Handle,
file: FSPXI_File,
inBuffer: *const c_void,
inSize: u32_,
outBuffer: *mut c_void,
outSize: u32_
) -> Result
Expand description
Calculates the MAC used in a DISA/DIFF header?
§Arguments
file
- UnsureinBuffer
- 0x100-byte DISA/DIFF input buffer.inSize
- Size of inBuffer.outBuffer
- Buffer to write MAC to.outSize
- Size of outBuffer.