Changes

13 bytes added ,  13:34, 18 July 2017
Line 4: Line 4:     
=Encryption=
 
=Encryption=
The first 0xC00 bytes are encrypted with AES-XTS with sector size 0x200, 6 sectors in total.
+
The first {at least 0xC00 bytes} are encrypted with AES-XTS with sector size 0x200, at least 6 sectors in total. Everything in this region uses same keydata.
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
! Offset
 
! Offset
 
! XTS Sector
 
! XTS Sector
! Key
   
! Description
 
! Description
 
|-
 
|-
 
| 0x0
 
| 0x0
 
| 0
 
| 0
| NcaHeaderKey
   
| NCA Header Signatures
 
| NCA Header Signatures
 
|-
 
|-
 
| 0x200
 
| 0x200
 
| 1
 
| 1
| NcaHeaderKey
   
| NCA Header Data
 
| NCA Header Data
 
|-
 
|-
 
| 0x400
 
| 0x400
 
| 2
 
| 2
| ?
   
| NCA Section 0 Data
 
| NCA Section 0 Data
 
|-
 
|-
 
| 0x600
 
| 0x600
 
| 3
 
| 3
| ?
   
| NCA Section 1 Data
 
| NCA Section 1 Data
 
|-
 
|-
 
| 0x800
 
| 0x800
 
| 4
 
| 4
| ?
   
| NCA Section 2 Data
 
| NCA Section 2 Data
 
|-
 
|-
 
| 0xA00
 
| 0xA00
 
| 5
 
| 5
| ?
   
| NCA Section 3 Data
 
| NCA Section 3 Data
 
|}
 
|}