When using the Verify
command in Stored mode, the
public key to be used is stored in a data slot and does not need to be passed. Prior
to this command being run, the message should be written to TempKey or the Message
Digest Buffer using the Nonce
command.
Verify
command.Nonce
command in Fixed mode.Nonce
command.Verify
command. Include the Mode, KeyID, which specifies the public key slot, the
64-byte signature and the slot # of the internal public key.
Opcode |
Mode |
Public Key |
Data Field (64 Bytes) | Comment |
---|---|---|---|---|
Signature |
||||
0x45 | 0x00 | 0x00, 0[Slot] |
R value |
- Message stored in TempKey |
0x20 | 0x00, 0[Slot] |
R value |
- Message stored in Message Digest Buffer |
|
0x80 | 0x00, 0[Slot] |
R value |
- Message stored in TempKey |
|
0xA0 | 0x00, 0[Slot] |
R value |
- Message stored in Message Digest Buffer |
Name | Mode | Size | Response |
---|---|---|---|
Response | 0x00 or 0x20 | 1 byte |
|
0x80 or 0xA0 |
32 bytes |
|
Size |
Message in TempKey | Message in Message Digest Bufffer |
---|---|---|
32 | Contents of the IO protection key | Contents of the IO protection key |
32 | Message from TempKey | First 32 bytes message from the Digest Buffer |
32 | System Nonce in the first 32 bytes of the Message Digest Buffer | System Nonce stored in the second 32 bytes of the Message Digest Buffer |
32 | R Data of the passed signature | R Data of the passed signature |
32 | S Data of the passed signature | S Data of the passed signature |
1 | Opcode | Opcode |
1 | Mode | Mode |
2 | Param2 [LSB,MSB] | Param2 [LSB,MSB] |