XCI: Difference between revisions

No edit summary
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 206: Line 214:
| 0x190
| 0x190
| 0x70
| 0x70
| [[#CardInfo]]
| [[#CardHeaderEncryptedData]]
|}
|}


Line 258: Line 266:
| 4
| 4
| [9.0.0+] DifferentRegionCupToGlobalDevice
| [9.0.0+] DifferentRegionCupToGlobalDevice
|-
| 7
| [11.0.0+] HasNewCardHeader
|}
|}


Line 273: Line 284:
|}
|}


=== CardInfo ===
=== CardHeaderEncryptedData ===
This region is stored encrypted (AES-128-CBC).
This region is stored encrypted (AES-128-CBC).


Line 320: Line 331:
| 0x25
| 0x25
| 0x3
| 0x3
| Empty
| Reserved
|-
|-
| 0x28
| 0x28
Line 332: Line 343:
| 0x38
| 0x38
| 0x38
| 0x38
| Empty
| Reserved
|}
|}


Line 384: Line 395:
| 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
| 0x100
|
|}
== 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
| 0x1D0
|
|}
|}


Line 403: Line 454:
| 0x100
| 0x100
| 0x4
| 0x4
| MagicCode ("CERT")
| Magic ("CERT")
|-
|-
| 0x104
| 0x104
Line 419: Line 470:
| 0x110
| 0x110
| 0x10
| 0x10
| DeviceId
| T1CardDeviceId
|-
|-
| 0x120
| 0x120
Line 426: Line 477:
|-
|-
| 0x130
| 0x130
| 0xD0
| 0x10
| Data (encrypted)
| HwKey (encrypted)
|-
| 0x140
| 0xC0
| Reserved (encrypted)
|-
|-
| 0x200
| 0x200
Line 520: Line 575:
| 0x0
| 0x0
| 0x4
| 0x4
| MagicCode ("HFS0")
| Magic ("HFS0")
|-
|-
| 0x4
| 0x4