CTCert: Difference between revisions

Myria (talk | contribs)
fix links
Luigoalma (talk | contribs)
Saying 01 is incorrect, its not always 1 that's loaded off dev OTP
 
(One intermediate revision by one other user not shown)
Line 32: Line 32:
| 0xC4
| 0xC4
| 0x40
| 0x40
| Key ID: "CT<DeviceId>-<ConsoleType>", where DeviceId is the hex [[PSPXI:GetDeviceId|DeviceId]], and ConsoleType is 00 for retail, 01 for dev
| Key ID: "CT<DeviceId>-<ConsoleType>", where DeviceId is the hex [[PSPXI:GetDeviceId|DeviceId]], and ConsoleType is 00 for retail, any other single byte hex value for dev
|-
|-
| 0x104
| 0x104
Line 47: Line 47:
|}
|}


The ECDSA public key for this cert is calculated from the ECDSA private key initialized by bootrom.  Boot ROM decrypts [[OTP Registers]] and writes the private key and Nintendo's signature of this certificate to [[Memory_layout#ARM9_ITCM|ARM9 ITCM]]; the public key is computed from the private key.
Boot ROM decrypts [[OTP Registers]] and writes the private key and Nintendo's signature of CTCert to [[Memory_layout#ARM9_ITCM|ARM9 ITCM]]; the public key is computed from the private key.
 
The curve used for ECDSA is sect233r1.
The curve used for ECDSA is sect233r1.