HASH AND SIGN instruction

Role

This instruction allows to compute a signature using one of the ECC private keys stored in the ATECC Secure Element. The message is passed as-is.

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 47
Data byte 0 Key index (00 to 0D)
Data byte 1..N Raw message

Response

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