Line 76:
Line 76:
The [[AES]] engine keyslot used for crypting the image seems to be the same one used for this MAC. This MAC is used to verify the DISA/DIFF header. SHA256_Update() is used to calculate the hash with the blocks described below.
The [[AES]] engine keyslot used for crypting the image seems to be the same one used for this MAC. This MAC is used to verify the DISA/DIFF header. SHA256_Update() is used to calculate the hash with the blocks described below.
+
+
==== Savegame Types ====
+
{| class="wikitable"
+
|-
+
! Type
+
! Description
+
|-
+
| CTR-EXT0
+
| SD/NAND [[Extdata]]
+
|}
==== Extdata SHA256 blocks ====
==== Extdata SHA256 blocks ====
Line 84:
Line 94:
|-
|-
| 0x8
| 0x8
−
| Savegame type, "CTR-EXT0"
+
| Savegame type
|-
|-
| 0x8
| 0x8