Line 49:
Line 49:
=== masterkey.bin ===
=== masterkey.bin ===
−
This 0x40-byte file was added with [[7.2.0-17]]. This is used by [[System Settings]].
+
This 0x40-byte file was added with [[7.2.0-17]]. This is used by [[System Settings#Parental Controls Reset|System Settings]].
{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 65:
Line 65:
|-
|-
| 0x10
| 0x10
−
| 0x30
+
| 0x10
−
| Random data, this is different for each version and region of this file.
+
| AES counter value
+
|-
+
| 0x20
+
| 0x20
+
| Encrypted HMAC key, decrypted using AES-128-CTR using a key from mset .rodata and the above counter value.
|}
|}
=== titleversion.txt ===
=== titleversion.txt ===
Added with [[9.6.0-24|9.6.0-X]]. With [[9.6.0-24|9.6.0-X]], this is a 5-byte file containing the following: "9.6.7". This is the parsed version of the CVer TMD title-version. After USA [[9.6.0-24|9.6.0-X]] for <=v11.0, this matches the version from CVer version.bin.
Added with [[9.6.0-24|9.6.0-X]]. With [[9.6.0-24|9.6.0-X]], this is a 5-byte file containing the following: "9.6.7". This is the parsed version of the CVer TMD title-version. After USA [[9.6.0-24|9.6.0-X]] for <=v11.0, this matches the version from CVer version.bin.