Savegames: Difference between revisions

Line 96: Line 96:
|-
|-
| CTR-SIGN
| CTR-SIGN
| ?
| SD Savegames
|-
|-
| CTR-9DB0
| CTR-9DB0
Line 167: Line 167:
|}
|}


For gamecard/SD savegames the output hash from this is used with the MAC. This save-type is also used for SD savegames, for SD saves the input data is the 0x100-byte DISA header.
For gamecard savegames the output hash from this is used with the MAC. This save-type is also used for SD savegames, for SD saves the input data is the 0x100-byte DISA header. For SD savegames, the calculated output hash is used with CTR-SIGN.
 
==== CTR-SIGN SHA256 Blocks ====
{| class="wikitable"
|-
! Block Size
! Description
|-
| 0x8
| Savegame type
|-
| 0x8
| ProgramID/SaveID
|-
| 0x20
| SHA-256 hash from CTR-SAV0
|}
This is used for SD savegames, the calculated hash from this is used with the MAC.


=== Partitions ===
=== Partitions ===