The Verify
command can be used to validate or invalidate
a public key. Only those public keys whose access policies require validation need
to go through this process. Prior to a public key being used to verify a signature,
it must be validated. If a validated public key needs to be updated, then it needs
to be invalidated prior to being written. Only internally stored public keys can be
validated or invalidated. The status of a public key is stored in the most
significant nibble of byte 0 of the public key slot.
For the ATECC608A-TFLXTLS device, Slot 14 contains a validated public key.
Verify Validate
or
Invalidate
command or an error will occur.Sign
command, but it uses the OtherData[18:0] bytes. Verify
Validate
or Invalidate
command, including the
signature R and S values and the OtherData bytes.
Opcode |
Mode |
Key ID |
Data Field (83 Bytes) | Comment | |
---|---|---|---|---|---|
Signature |
Other Data(1) |
||||
0x45 | 0x03 | 0x00 0[Slot] |
R value |
OtherData[17][0] = 0 |
Validates public key |
0x07 | 0x00 0[Slot] |
R Value |
OtherData[17][0] = 1 |
Invalidates public key |
Name | Size | Description |
---|---|---|
Response | 1 byte |
|
ValidateNibble of Public Key | 4 bits. | Slot[n][0] [7:4] will be updated of the public
key
|
32 bytes |
TempKey digest of the PublicKey (must be generated by GenKey) |