Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATECC608A Datasheet(PDF) 35 Page - Microchip Technology

Part # ATECC608A
Description  ATECC608A for LoRaWAN™ Data Sheet
PDF  81 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATECC608A Datasheet(HTML) 35 Page - Microchip Technology

Back Button ATECC608A Datasheet HTML 31Page - Microchip Technology ATECC608A Datasheet HTML 32Page - Microchip Technology ATECC608A Datasheet HTML 33Page - Microchip Technology ATECC608A Datasheet HTML 34Page - Microchip Technology ATECC608A Datasheet HTML 35Page - Microchip Technology ATECC608A Datasheet HTML 36Page - Microchip Technology ATECC608A Datasheet HTML 37Page - Microchip Technology ATECC608A Datasheet HTML 38Page - Microchip Technology ATECC608A Datasheet HTML 39Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 81 page
background image
5.1.8.1
SHA - SHA256 Digest
The SHA command utilizes the SHA256 Hash algorithm for computing the hash of a message. The primary input to
the command is the actual message. The message is submitted to the device in blocks of 1 to 64 bytes. The following
procedure is used when no context switching is required:
1.
Issue the SHA command in Start mode. No message is included.
2.
Issue the SHA command in Update mode with 1 to 64 bytes of the message.
3.
Repeat step 2 until the total number of bytes of the message have been submitted.
4.
Issue the SHA command in End mode to complete the SHA256 calculation.
Table 5-25. Input Parameters SHA Standard Mode
Opcode
(1 Byte)
Mode
(1 Byte)
Param2
(2 Bytes)
Data
(Varies by Mode)
Description
0x47
0x00
0x00 00
0 bytes
Start mode
0x01
0x00 [ByteCount] 1 to 64 bytes
Update mode
0x02
0x00 [ByteCount] 0 to 64 bytes
Finalize mode: Digest placed in Output Buffer and
TempKey
0x42
0x00 [ByteCount]
Finalize mode: Digest placed in Output Buffer and
Message Digest Buffer
0xC2
0x00 [ByteCount]
Finalize mode: Digest placed in Output Buffer only
Table 5-26. Output Response SHA256 Standard
Name
Mode
Size
Description
Response
0x00, 0x01
1 byte
0x00 if successful, otherwise an error code is received
0x02, 0x42, 0xC2
1 byte
32 bytes
If error code
SHA256 Digest
5.1.8.2
SHA - HMAC Digest
The SHA command may be used to calculate an HMAC Digest instead of an SHA256 Digest. The procedure is
essentially the same but requires the use of an internal key and the use of HMAC_START instead of START.
The following procedure is used when no context switching is required:
1.
Issue the SHA command in HMAC_Start mode with key location indicated. No message is included.
2.
Issue the SHA command in Update mode with 1 to 64 bytes of the message.
3.
Repeat step 2 until the total number of bytes of the message has been submitted.
4.
Issue the SHA command in End mode to complete the HMAC Digest calculation.
ATECC608A-TNGLoRaWAN
Device Commands
© 2020 Microchip Technology Inc.
Complete Datasheet
DS40002154B-page 35



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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