Changes

Jump to navigation Jump to search
175 bytes added ,  18:03, 19 April 2013
m
no edit summary
Line 10: Line 10:     
== Format ==
 
== Format ==
 +
 +
This is the current version of the CIA format. It was finalised in late 2010. (Older versions of the CIA format can be viewed on the Talk page)
 +
 
The CIA format has a similar structure to the [http://wiibrew.org/wiki/Wad WAD format].
 
The CIA format has a similar structure to the [http://wiibrew.org/wiki/Wad WAD format].
   Line 72: Line 75:  
* TMD file data
 
* TMD file data
 
* APP file data
 
* APP file data
* Meta file data
+
* Meta file data (Not a necessary component)
    
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.
839

edits

Navigation menu