Changes

Jump to navigation Jump to search
m
Line 99: Line 99:  
Data following the BOSS header is encrypted with AES-CTR. The AES key that is used is stored in [[AES_Registers#Keyslots|keyslot 0x38]]. The first 12 bytes of the IV are from offset 0x1C of the header, while the last 32-bit integer of the IV in big-endian is 0x1. The IV from the header is random per file, and an unique random IV is used each time the content is updated. The cleartext data begins with the content header.
 
Data following the BOSS header is encrypted with AES-CTR. The AES key that is used is stored in [[AES_Registers#Keyslots|keyslot 0x38]]. The first 12 bytes of the IV are from offset 0x1C of the header, while the last 32-bit integer of the IV in big-endian is 0x1. The IV from the header is random per file, and an unique random IV is used each time the content is updated. The cleartext data begins with the content header.
   −
The 64-bit number at 0xC may be serial number which is increased every time someone requested to sign and create a boss container for his file. The 3DS sees the downloaded file as new if this number is different from the previous download (Doesn't matter if the number is bigger or smaller).
+
The 64-bit number at 0xC may be a serial number which is increased every time someone requested to sign and create a boss container for his file. The 3DS sees the downloaded file as new if this number is different from the previous download (Doesn't matter if the number is bigger or smaller).
    
The boss system module v13314 begins at address 0x0010eb98 with the function for parsing the BOSS header.
 
The boss system module v13314 begins at address 0x0010eb98 with the function for parsing the BOSS header.
77

edits

Navigation menu