Line 54:
Line 54:
| 0x14
| 0x14
| 0x04
| 0x04
−
| ExeFS/Exheader Excerpt size (0 if no excerpt is present)
+
| 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
−
* ExeFS/ExHeader Excerpt
+
* 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.
−
== ExeFS/ExHeader Excerpt ==
+
== Meta ==
−
The structure of this excerpt is as follows:
+
The structure of this data is as follows:
{| class="wikitable" border="1"
{| class="wikitable" border="1"