SIGN instruction

Role

This instruction allows to compute a signature using one of the ECC private keys stored in the ATECC Secure Element. The SHA256 hash of the message shall be computed by the host.

Access condition

Depending on the configuration-defined access conditions and on the type of host interface (Local / Remote), this instruction may either be freely usable or restricted to authenticated communications.

Command

Field Value
CLA 59 (ATCRYPTO)
INS 46
Data byte 0 Key index (00 to 0D)
Data byte 1..32 SHA256 hash of the message

Response

Field Value
CLA 59 (ATCRYPTO)
STA 00
Data bytes 0..N Signature