NCSD: Difference between revisions

AriA99 (talk | contribs)
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
0x08
0x10
Title ID (little-endian)
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)
|-
|  0x08
|  0x08
|  Reserved (normally all-zero)
|-
|-
|  0x10
|  0x10
|  0x10
|  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)
TitleKey (AES-CCM encrypted)
|-
|-
|  0x20
|  0x20
|  0x10
|  0x10
TitleKey (AES-CCM encrypted)
|  AES-CCM MAC
|-
|-
|  0x30
|  0x30
|  0x10
|  AES-CCM MAC
|-
|  0x40
|  0xC
|  0xC
|  AES-CCM nonce
|  AES-CCM nonce