NCSD: Difference between revisions
InitialData at +0x1000 is not part of the development cart extension |
→InitialData: Fix struct being too large caused by having redundant data |
||
Line 252: | Line 252: | ||
|- | |- | ||
| 0x00 | | 0x00 | ||
| | | 0x10 | ||
| | | Seed (keyY used to decrypt the title key - keyX is keyslot 0x3B for production cards, or a key of all zeroes for development cards), consisting of the title ID (little-endian) followed by reserved data (normally all-zero) | ||
|- | |- | ||
| 0x10 | | 0x10 | ||
| 0x10 | | 0x10 | ||
| | | TitleKey (AES-CCM encrypted) | ||
|- | |- | ||
| 0x20 | | 0x20 | ||
| 0x10 | | 0x10 | ||
| | | AES-CCM MAC | ||
|- | |- | ||
| 0x30 | | 0x30 | ||
| 0xC | | 0xC | ||
| AES-CCM nonce | | AES-CCM nonce |