Changes

Jump to navigation Jump to search
1,256 bytes added ,  16 April
no edit summary
Line 17: Line 17:  
|-
 
|-
 
| 0x1200
 
| 0x1200
| 0x6E00
+
| 0x200
 +
| [11.0.0+] [[#NewCardHeader]]
 +
|-
 +
| 0x1400
 +
| 0x400
 +
| [11.0.0+] [[#NewCardHeaderCertArea]]
 +
|-
 +
| 0x1800
 +
| 0x6800
 
| ReservedArea
 
| ReservedArea
 
|-
 
|-
Line 76: Line 84:  
| 0x8
 
| 0x8
 
| 0x8
 
| 0x8
| Empty
+
| Reserved
 
|-
 
|-
 
| 0x10
 
| 0x10
Line 130: Line 138:  
| 0x100
 
| 0x100
 
| 0x4
 
| 0x4
| MagicCode ("HEAD")
+
| Magic ("HEAD")
 
|-
 
|-
 
| 0x104
 
| 0x104
Line 165: Line 173:  
|-
 
|-
 
| 0x11C
 
| 0x11C
| 0x4
+
| 0x1
 +
| Reserved
 +
|-
 +
| 0x11D
 +
| 0x1
 +
| [18.0.0+] [[#Flags2]] ([1.0.0-17.0.1] Reserved)
 +
|-
 +
| 0x11E
 +
| 0x2
 
| Reserved
 
| Reserved
 
|-
 
|-
Line 206: Line 222:  
| 0x190
 
| 0x190
 
| 0x70
 
| 0x70
| [[#CardInfo]]
+
| [[#CardHeaderEncryptedData]]
 
|}
 
|}
   Line 258: Line 274:  
| 4
 
| 4
 
| [9.0.0+] DifferentRegionCupToGlobalDevice
 
| [9.0.0+] DifferentRegionCupToGlobalDevice
 +
|-
 +
| 7
 +
| [11.0.0+] HasNewCardHeader
 
|}
 
|}
 +
 +
=== Flags2 ===
 +
[[Filesystem_services|FS]] retrieves this data as [[Filesystem_services#GameCardAttribute2|GameCardAttribute2]].
    
=== SelSec ===
 
=== SelSec ===
Line 273: Line 295:  
|}
 
|}
   −
=== CardInfo ===
+
=== CardHeaderEncryptedData ===
 
This region is stored encrypted (AES-128-CBC).
 
This region is stored encrypted (AES-128-CBC).
   Line 320: Line 342:  
| 0x25
 
| 0x25
 
| 0x3
 
| 0x3
| Empty
+
| Reserved
 
|-
 
|-
 
| 0x28
 
| 0x28
Line 332: Line 354:  
| 0x38
 
| 0x38
 
| 0x38
 
| 0x38
| Empty
+
| Reserved
 
|}
 
|}
   Line 384: Line 406:  
| 1
 
| 1
 
| Terra
 
| Terra
 +
|}
 +
 +
== NewCardHeader ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x100
 +
| RSA-2048 PKCS #1 signature over the data from 0x100 to 0x200
 +
|-
 +
| 0x100
 +
| 0x90
 +
|
 +
|-
 +
| 0x190
 +
| 0x70
 +
| [[#NewCardHeaderEncryptedData]]
 +
|}
 +
 +
=== NewCardHeaderEncryptedData ===
 +
This region is stored encrypted (AES-128-CBC).
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x40
 +
|
 +
|-
 +
| 0x40
 +
| 0x20
 +
| SHA-256 hash of the [[#CardHeader]]
 +
|-
 +
| 0x60
 +
| 0x10
 +
| Reserved
 +
|}
 +
 +
== NewCardHeaderCertArea ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0
 +
| 0x100
 +
| RSA-2048 PKCS #1 signature over the data from 0x100 to 0x300
 +
|-
 +
| 0x100
 +
| 0x30
 +
|
 +
|-
 +
| 0x130
 +
| 0x100
 +
| [[#NewCardHeader]] modulus
 +
|-
 +
| 0x230
 +
| 0x4
 +
| [[#NewCardHeader]] exponent
 +
|-
 +
| 0x234
 +
| 0x1CC
 +
|
 
|}
 
|}
   Line 403: Line 495:  
| 0x100
 
| 0x100
 
| 0x4
 
| 0x4
| MagicCode ("CERT")
+
| Magic ("CERT")
 
|-
 
|-
 
| 0x104
 
| 0x104
Line 419: Line 511:  
| 0x110
 
| 0x110
 
| 0x10
 
| 0x10
| DeviceId
+
| T1CardDeviceId
 
|-
 
|-
 
| 0x120
 
| 0x120
Line 426: Line 518:  
|-
 
|-
 
| 0x130
 
| 0x130
| 0xD0
+
| 0x10
| Data (encrypted)
+
| HwKey (encrypted)
 +
|-
 +
| 0x140
 +
| 0xC0
 +
| Reserved (encrypted)
 
|-
 
|-
 
| 0x200
 
| 0x200
Line 520: Line 616:  
| 0x0
 
| 0x0
 
| 0x4
 
| 0x4
| MagicCode ("HFS0")
+
| Magic ("HFS0")
 
|-
 
|-
 
| 0x4
 
| 0x4

Navigation menu