Changes

no edit summary
Line 44: Line 44:     
=Description=
 
=Description=
These input buffers are the same buffers used with [[AMPXI:ValidateDSiWareMovableSedHash]]. This calculates an AES MAC over the 0x20-byte buf1 SHA-256 hash using the same keyslot used for DSiWare exports' MACs. When this MAC matches the MAC stored in buf0, result-code 0 is returned, otherwise an error is returned.
+
This calculates an AES MAC over the 0x20-byte buf1 SHA-256 hash. When this MAC matches the MAC stored in buf0, result-code 0 is returned, otherwise an error is returned. This is used for verify the DSiWare section's metadata MAC after decrypting the payload data.