CIA: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 54: | Line 54: | ||
| 0x14 | | 0x14 | ||
| 0x04 | | 0x04 | ||
| | | Meta size (0 if no Meta data is present) | ||
|- | |- | ||
| 0x18 | | 0x18 | ||
Line 70: | Line 70: | ||
* TMD file data | * TMD file data | ||
* APP file data | * APP file data | ||
* | * Meta file data | ||
The APP data (NCCH/SRL) is encrypted, using 128-bit AES-CBC. The encryption uses the decrypted titlekey of the ticket, and the titleid padded with zeros as the IV. To get the decrypted titlekey, the titlekey stored in the ticket must be decrypted using 128-bit AES-CBC with the 3DS common key, and the same IV as mentioned previously. | The APP data (NCCH/SRL) is encrypted, using 128-bit AES-CBC. The encryption uses the decrypted titlekey of the ticket, and the titleid padded with zeros as the IV. To get the decrypted titlekey, the titlekey stored in the ticket must be decrypted using 128-bit AES-CBC with the 3DS common key, and the same IV as mentioned previously. | ||
== | == Meta == | ||
The structure of this | The structure of this data is as follows: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" |