Changes

Jump to navigation Jump to search
183 bytes added ,  04:53, 17 June 2018
no edit summary
Line 1: Line 1: −
This page describes the format of savegames contained in NAND. NAND savegames do not use an container with the entire file encrypted. Various areas of the saveimage is uninitialized data, resulting in encrypted data in those areas(like 3DS did).
+
This page describes the format of savegames contained in NAND. NAND savegames do not use an container with the entire file encrypted. Various areas of the saveimage is uninitialized data, resulting in encrypted data in those areas (like 3DS did).
    
=== AES CMAC header ===
 
=== AES CMAC header ===
Line 10: Line 10:  
| 0x00
 
| 0x00
 
| 0x10
 
| 0x10
| AES-CMAC
+
| AES-CMAC over DISF header (size 0x200)
 
|-
 
|-
 
| 0x10
 
| 0x10
Line 16: Line 16:  
| Zero padding
 
| Zero padding
 
|}
 
|}
 +
 +
The final CMAC key used for this is generated using GenerateAesKek with a kek source and the device key, along with and LoadAesKey and a set key seed.
    
==== DISF ====
 
==== DISF ====

Navigation menu