Changes

989 bytes added ,  23:19, 16 July 2019
m
no edit summary
Line 1: Line 1:  +
<span style="background: #F1EBEB; border: 2px #CACACA solid; padding: 2px 1px 2px 4px;">
 +
[[File:Wii.png |30px|30px]] This topic has a Wiibrew article. For more information, check [https://wiibrew.org/wiki/Hardware/OTP here].</span>
 +
 
'''OTP''' (one-time programmable) refers to a storage area which is only writable once. It is used on various Nintendo consoles to store console-unique information and is written during the factory process.
 
'''OTP''' (one-time programmable) refers to a storage area which is only writable once. It is used on various Nintendo consoles to store console-unique information and is written during the factory process.
 +
 +
== Nintendo Wii ==
 +
The Nintendo Wii stores a small amount of data here; some of it is Wii-specific (such as NAND keys), but the hash of the version of boot1 used in that Wii is also stored (making boot1 impossible to update), and the common key used in the Wii.
 +
=== OTP Contents ===
 +
The following things are stored inside the OTP:
 +
{| style="border: 1px solid #bbb; border-collapse: collapse; background-color: #eef; padding: 0.2em 0.2em 0.2em 0.2em;" border="1" cellpadding="2"
 +
|- style="background-color: #ddd;"
 +
! Address
 +
! Description
 +
|-
 +
| 0-4 || Boot1 hash
 +
|-
 +
| 5-8 || common key
 +
|-
 +
| 9 || NG id
 +
|-
 +
| a-11 || NG private key
 +
|-
 +
| 11-15 || NAND HMAC (overlaps with NG private key)
 +
|-
 +
| 16-19 || NAND key
 +
|-
 +
| 1a-1d || RNG key
 +
|-
 +
| 1e-1f || Unknown
 +
|-
 +
|}