Amiibo: Difference between revisions

No edit summary
Line 50: Line 50:
|-
|-
| 4
| 4
| 1
| 0x10
| 0x4
| Last 3-bytes here are used with the following HMAC. The first byte is normally 0xA5. The remaining bytes are initially(before the Amiibo is written to) all-zero. Byte[2] here is increased each time the Amiibo is written to.
|-
| ?
| 8
| 8
| 0x10
| ?
| 0x20
| 0x20
| SHA256-HMAC over 0x1DF-bytes: first 3-bytes are from the last 3-bytes of page[12], the rest is over the first 0x1DC-bytes of the plaintext data following this hash(see page[13]).
| SHA256-HMAC over 0x1DF-bytes: first 3-bytes are from the last 3-bytes of page[4], the rest is over the first 0x1DC-bytes of the plaintext data following this hash.
|-
| 12/0x0C
| 1
| 0x30
| 0x4
| Unknown. Last 3-bytes here are used with the above HMAC.
|-
|-
| 13/0x0D
| ?
|  
|  
| 0x34
| ?
|  
|  
| The system crypts 0x1A0-bytes starting here.
| The system crypts 0x1A0-bytes starting here.