CryptoAuthLib

CryptoAuthLib is a software library that supports Microchip’s family of CryptoAuthentication devices. Microchip recommends working with this library when developing with the ATECC608A-TFLXTLS. The library implements the API calls necessary to execute the commands detailed in this data sheet.

The library has been implemented to readily work with many of Microchip’s microcontrollers but can easily be extended through a Hardware Abstraction Layer (HAL) to other microcontrollers including those made by other vendors.

For more information on these tools, check the information on:

API Calls

Each of the commands in the data sheet have one or more API calls that are associated with it. Typically, there is a base API call of the command where all input parameters can be specified. The parameter shown in the commands and subsections can be used with this command. There are also mode variants of each of the API calls. The table below shows examples of commands and base API calls. For the most accurate API information, refer to the GitHub information.

Table 1. Example Commands to CryptoAuthLib API Calls
Device Command API Call Comments
Info atcab_info_base()  
Write atcab_write()  
Read atcab_read_zone()  
SHA atcab_sha_base()  
Sign atcab_sign_base()  
Random atcab_random()  
Verify atcab_verify()