| 数据搜索系统,热门电子元器件搜索 |
|
ATECC508A 数据表(PDF) 85 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
ATECC508A 数据表(HTML) 85 Page - Microchip Technology |
|
85 / 109 page ![]() • External Message Generation (Mode<7> is 1) – The system should externally compile the information to be signed and compute the digest of that information using an external hash algorithm. This digest should then be loaded into TempKey using the Nonce command. The ATECC508A cannot compute the SHA-256 digest of a random external message. – External signatures must be enabled using SlotConfig.ReadKey<0> or else this command will return an error. • Internal Message Generation (Mode<7> is 0) – The message to be signed is internally generated. A typical use for this mode is to sign an internally generated random key. – The message is comprised of the output of the GenDig or GenKey commands (stored in TempKey), plus various other state information according to the description below. If TempKey is invalid or if it was not generated using GenDig or GenKey, then this command will return an error. – Internal signatures must be enabled using SlotConfig.ReadKey<1> or this command will return an error. – If the data zone has not been locked, then internal signatures will always generate an error code. The slot indicated by this command must be configured via KeyConfig.Private to contain an ECC private key, and SlotConfig.IsSecret must be set to one or else this command will fail. There is a small statistical probability that the device will fail to properly generate the ephemeral key, in which case this command will return a single byte containing the ECC fault code (see Table 9-3). The command will generally succeed if resubmitted. Table 9-49. Input Parameters Name Size Notes Opcode Sign 1 0x41 Param1 Mode 1 See Table 9-51. Param2 KeyID 2 The internally-stored private key to be used to generate the signature. Table 9-50. Output Parameter Name Size Notes Response 64 The signature composed of R and S, or an error code. Table 9-51. Mode Encoding Bits Meaning 7 0 = The message to be signed is internally generated as below. 1 = The message to be signed is in TempKey and sign extended as above. 6 0 = 48 Message bits corresponding to SN<2:3> and SN<4:7> are set to zero. 1 = Include the 48 bits SN<2:3> and SN<4:7> in the message for internal signatures. This bit is ignored if mode<7> is one. ATECC508A Security Commands © 2017 Microchip Technology Inc. Datasheet Complete DS20005927A-page 85 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |