5 Device Commands
- General Device CommandsThese commands fall into two categories:
- General device access commands that are used to send data to the device or retrieve data but typically do not perform any cryptographic functions.
- General cryptographic commands that can be used by the device or the system but typically do not operate on specific data slots.
- Asymmetric Cryptography
Commands
These commands perform asymmetric cryptographic operations, such as key generation, message signing and message verification that utilize an ECC public or private key. These commands are limited to use on ECC Data zone slots.
- Symmetric Cryptography
Commands
These commands perform a symmetric cryptographic function, such as generating a digest or MAC, key derivation or AES encryption and decryption.
Input Parameters for all Commands
Multibyte input parameters are shown as big-endian (MSB first) values in the input parameters tables unless otherwise specified. Note that the ATECC608B-TNGTLS device actually expects the data to be sent little-endian (LSB first).
Command | Description | Command Category |
---|---|---|
AES | Execute the AES-ECB Encrypt or Decrypt functions. Calculate a Galois Field Multiply. | Symmetric Cryptography Command |
CheckMac | Verify a MAC calculated on another CryptoAuthentication™ device. | Symmetric Cryptography Command |
Counter | Read or increment one of the monotonic counters | General Device Commands |
ECDH | Generate an ECDH pre-master secret using stored private key and input public key. | Asymmetric Cryptography Command |
GenDig | Generate a data digest from a random or input seed and a stored value. | Symmetric Cryptography Command |
GenKey | Generate an ECC public key. Optionally generate an ECC private key. | Asymmetric Cryptography Command |
Info | Return device state information. | General Device Commands |
KDF | Implement the PRF or HKDF key derivation functions | Symmetric Cryptography Command |
Lock | Prevent further modifications to a zone or slot of the device. | General Device Commands |
MAC | Calculate digest (response) from key and other internal data using SHA-256. | Symmetric Cryptography Command |
Nonce | Generate a 32-byte random number and an internally stored Nonce. | General Device Commands |
Random | Generate a random number. | General Device Commands |
Read | Read 4 or 32 bytes from the device, with or without authentication and encryption. | General Device Commands |
SelfTest | Test the various internal cryptographic computation elements | General Device Commands |
Sign | ECDSA signature calculation. | Asymmetric Cryptography Command |
SHA | Compute a SHA-256 or HMAC digest for general purpose use by the system. | General Device Commands |
UpdateExtra | Update bytes 84 or 85 within the Configuration zone after the Configuration zone is locked. | General Device Commands |
Verify | ECDSA verify calculation. | Asymmetric Cryptography Command |
Write | Write 4 or 32 bytes to the device, with or without authentication and encryption. | General Device Commands |