| поискавой системы для электроныых деталей |
|
ATECC508A датащи(PDF) 76 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
ATECC508A датащи(HTML) 76 Page - Microchip Technology |
|
76 / 109 page ![]() 9.11 MAC Command The MAC command computes a SHA-256 digest of a key stored in the device, a challenge, and other information on the device. The output of this command is the digest of this message. If the message includes the serial number of the device, the response is said to be “diversified”. The normal command flow to use this command is as follows: 1. Run Nonce command to load input challenge and optionally combine it with a generated random number. The result of this operation is a nonce stored internally on the device. 2. Optionally, run GenDig command to combine one or more stored EEPROM locations in the device with the nonce. The result is stored internally in the device. This capability permits two or more keys to be used as part of the response generation. 3. Run this MAC command to combine the output of step one (and step two if desired) with an EEPROM key to generate an output response (i.e. digest). Alternatively, data in any slot (which does not have to necessarily even be secret) can be accumulated into the response through the same GenDig mechanism. This has the effect of authenticating the value stored in that location. Table 9-32. Input Parameters Name Size Notes Opcode MAC 1 0x08 Param1 Mode 1 Controls which fields within the device are used in the message. Param2 KeyID 2 The internal key is to be used to generate the response. Bits 3:0 only are used to select a slot; however, all 16 bits are used in the SHA-256 message. Data Challenge 0 or 32 Input portion of message to be digested, ignored if Mode<0> is one. Table 9-33. Output Parameter Name Size Notes Response 32 SHA-256 digest The message that will be hashed with the SHA-256 algorithm consists of the following information: 32 bytes Slot<KeyID> or TempKey (see Mode Encoding ) 32 bytes Challenge or TempKey (see Mode Encoding) 1 byte Opcode (always 0x08) 1 byte Mode 2 bytes KeyID 8 bytes Zeros 3 bytes Zeros 1 byte SN<8> (never zeroed out) 4 bytes SN<4:7> (or zeros, see Mode Encoding) ATECC508A Security Commands © 2017 Microchip Technology Inc. Datasheet Complete DS20005927A-page 76 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |