ESP-CRYPTOAUTHLIB
Supported Targets
Supported Target Board ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-P4 ESP32-S3
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 a Supported Target Board. The cryptoauthlib folder which is a subset of Microchip’s cryptoauthlib is created with help of script generate_component.sh.
Requirements
- ESP-IDF version should be
release/v5.0or ne…
ESP-CRYPTOAUTHLIB
Supported Targets
Supported Target Board ESP32 ESP32-C2 ESP32-C3 ESP32-C6 ESP32-H2 ESP32-P4 ESP32-S3
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 a Supported Target Board. The cryptoauthlib folder which is a subset of Microchip’s cryptoauthlib is created with help of script generate_component.sh.
Requirements
- ESP-IDF version should be
release/v5.0or newer. - Environment variable
IDF_PATHshould be set
How to use esp-cryptoauthlib with ESP-IDF
There are two ways to use esp-cryptoauthlib in your project
Directly add esp-cryptoauthlib as a component in your project with following three commands.
(First change directory (cd) to your project directory)
mkdir components
cd components
git clone https://github.com/espressif/esp-cryptoauthlib.git
- Add
esp-cryptoauthlibas an extra component in your project.
- Download
esp-cryptoauthlibwith:
git clone https://github.com/espressif/esp-cryptoauthlib.git
- Include
esp-cryptoauthlibinESP-IDFwith settingEXTRA_COMPONENT_DIRSin CMakeLists.txt/Makefile of your project.For reference see Optional Project Variables
How to configure and provision ATECC608
The 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