Changes

Jump to navigation Jump to search
no edit summary
Line 18: Line 18:  
|-
 
|-
 
| 4
 
| 4
| Buf0Size<<8 <nowiki>|</nowiki> 0x4
+
| (Buf0Size<<8) <nowiki>|</nowiki> 0x4
 
|-
 
|-
 
| 5
 
| 5
Line 24: Line 24:  
|-
 
|-
 
| 6
 
| 6
| Buf1Size<<8 <nowiki>|</nowiki> 0x14
+
| (Buf1Size<<8) <nowiki>|</nowiki> 0x14
 
|-
 
|-
 
| 7
 
| 7
Line 44: Line 44:     
=Description=
 
=Description=
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 to verify the DSiWare section's [[DSiWare_Exports|metadata]] MAC after decrypting the payload data.
+
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 by [[AM:ImportDSiWare|AM]] module to verify the DSiWare section's [[DSiWare_Exports|metadata]] MAC after decrypting the payload data.

Navigation menu