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 | ||
| | | ? | ||
| 0x20 | | 0x20 | ||
| SHA256-HMAC over 0x1DF-bytes: first 3-bytes are from the last 3-bytes of page[ | | 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. | ||
|- | |- | ||
| | | ? | ||
| | | | ||
| | | ? | ||
| | | | ||
| The system crypts 0x1A0-bytes starting here. | | The system crypts 0x1A0-bytes starting here. |