| Electronic Components Datasheet Search |
|
ATECC608A Datasheet(PDF) 45 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
ATECC608A Datasheet(HTML) 45 Page - Microchip Technology |
|
45 / 81 page ![]() Procedure to Verify a Message with a Stored Key 1. If so required, validate the public key before using the Verify command. 2. If so required, authorize the public key before use. 3. Write the 32-byte digest of the message to either the TempKey or Message Digest Buffer using the Nonce command in Fixed mode. 4. Write the System Nonce to either the lower or upper 32 bytes of the Message Digest Buffer. 4.1. If TempKey contains the message digest, then store the System Nonce in the lower 32 bytes of the Message Digest Buffer. 4.2. If the message digest is stored in the lower 32 bytes of the Message Digest Buffer, then store the System Nonce in the upper 32 bytes of the Message Digest Buffer. The user needs to write both the message digest and the System Nonce at one time using the Nonce command. 5. Issue the Verify command. Include the Mode, KeyID, which specifies the public key slot, the 64-byte signature and the slot # of the internal public key. 6. The output will return: 6.1. One byte success, fail or error code if MAC is not required. 6.2. A 32-byte MAC, if specified by the mode or an error code, if the command fails. Table 5-53. Command Parameters Opcode (1 Byte) Mode (1 Byte) Public Key (2 Bytes) Data Field (64 Bytes) Comment Signature (64 Bytes) 0x45 0x00 0x00, 0[Slot] R value S value - Message stored in TempKey 0x20 0x00, 0[Slot] R value S value - Message stored in Message Digest Buffer 0x80 0x00, 0[Slot] R value S value - Message stored in TempKey Validation MAC is returned 0xA0 0x00, 0[Slot] R value S value - Message stored in Message Digest Buffer Validation MAC is returned Table 5-54. Output Response - Verify Stored Name Mode Size Response Response 0x00 or 0x20 1 byte • 0x00 - If signature is verified • 0x01 - If signature does not match • Error code - If there is a failure due to some other reason 0x80 or 0xA0 32 bytes 1 byte • Validation MAC - If signature is verified • 0x01 - If signature does not match • Error code - If there is a failure due to some other reason Table 5-55. Validation MAC - Verify Stored The validation MAC input locations vary based on where the message is stored. Size (Bytes) 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 ATECC608A-TNGLoRaWAN Device Commands © 2020 Microchip Technology Inc. Complete Datasheet DS40002154B-page 45 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |