This is a port of Microchip's cryptoauthlib for ESP-IDF. It contains necessary build support to use cryptoauthlib with ESP-IDF as well as esp_cryptoauthlib_utility
for configuring and provisiong ATECC608A chip connected to an ESP module. Currently the utility is supported for ESP32, ESP32S3, ESP32C3, ESP32C5 and ESP32C6. The cryptoauthlib folder which is a subset of Microchip's cryptoauthlib is created with help of script generate_component.sh.
release/v5.0
or newer.IDF_PATH
should be setThere are two ways to use esp-cryptoauthlib
in your project
esp-cryptoauthlib
as a component in your project with following three commands.(First change directory (cd) to your project directory)
Plaintext
mkdir components
cd components
git clone https://github.com/espressif/esp-cryptoauthlib.git
esp-cryptoauthlib
as an extra component in your project.esp-cryptoauthlib
with:Plaintext
git clone https://github.com/espressif/esp-cryptoauthlib.git
esp-cryptoauthlib
in ESP-IDF
with setting EXTRA_COMPONENT_DIRS
in CMakeLists.txt/Makefile of your project.For reference see Optional Project VariablesThe python utilty esp_cryptoauth_utility
helps to configure, generate resources as well as provision ATECC608A chip connected to an ESP module.
For detailed instructions on how to use the utility please refer utility README.md
idf.py add-dependency "espressif/esp-cryptoauthlib^3.7.7~3"