Difference between revisions of "AMPXI:ValidateDSiWareMovableSedHash"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00530084] |- | 1 | Buf0 size, must be 0x10-bytes. |- | 2 | Buf1 size, must be 0x...") |
|
(No difference)
|
Revision as of 05:41, 23 April 2013
Request
Index Word | Description |
---|---|
0 | Header code [0x00530084] |
1 | Buf0 size, must be 0x10-bytes. |
2 | Buf1 size, must be 0x20-bytes. |
3 | Buf0Size<<8 | 0x4 |
4 | Buf0 ptr |
5 | Buf1Size<<8 | 0x14 |
6 | Buf1 ptr |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description
This calculates a SHA-256 hash over the 0x130-byte data from FSPXI:ExportIntegrityVerificationSeed. When the calculated hash matches the hash stored in buf1, result-code 0xC8A0802E is returned, otherwise result-code 0xC8A0802F is returned.
The 0x10-byte buf0 data is copied to internal memory, however this data is not used after it's copied.