5.3.6.1 Non-Diversified MAC
The MAC is always calculated over a total of 88 bytes and always creates a 32-byte SHA256 digest. A non-diversified MAC does not include the serial number of the device and will therefore be the same across all devices if the input parameters are the same.
Opcode |
Mode |
KeyID |
Data(2) | Mode Descriptions |
---|---|---|---|---|
0x08 | 0x00 | 0x00 0[Slot] | 32 bytes |
|
0x01 or 0x05(1) | 0x00 0[Slot] | 0 bytes |
| |
0x02 or 0x06(1) | 0x00 00 | 32 bytes |
|
(1) Mode[2] must match the TempKey.SourceFlag.
(2) When present, the Data parameter corresponds to the input challenge.
Name | Size | Description |
---|---|---|
Response | 1 byte | If the command fails |
32 bytes | SHA-256 digest |
# of Bytes | Mode 0x00 | Mode 0x01 or 0x05 | Mode 0x02 or 0x06 |
---|---|---|---|
32 |
Data Slot |
Data Slot |
TempKey |