No description
  • C 96.7%
  • Python 2.1%
  • CMake 1%
Find a file
Aditya Patwardhan 431b850a10
Some checks failed
PyPI release / build_and_upload (push) Has been cancelled
Push esp-cryptoauthlib to Espressif Component Service / upload_components (push) Has been cancelled
chore: Bump version to 3.7.9~2
2026-07-29 21:33:35 +05:30
.github/workflows fix gihub workflows by using latest github actions 2025-04-04 18:39:12 +08:00
cryptoauthlib Increase the retry count for I2C retry to 6 2026-01-21 18:15:02 +05:30
esp_cryptoauth_utility Update sample_bins firmware from CI pipeline 2026-07-13 18:05:45 +05:30
examples/atecc608_ecdsa feat(examples): Update atecc608_ecdsa example for the ESP-IDF 6.x PSA driver 2026-07-29 21:33:35 +05:30
port feat(port): Add PSA Crypto integration for ATECC608A secure element 2026-07-29 21:33:35 +05:30
.gitlab-ci.yml feat: update sdkconfig files and add support for esp32c5 and esp32c61 2026-07-13 18:05:36 +05:30
CMakeLists.txt feat(port): Add PSA Crypto integration for ATECC608A secure element 2026-07-29 21:33:35 +05:30
component.mk Fix inclusion of freertos specific headers 2021-09-24 15:23:20 +05:30
generate_component.sh Update component to v3.7.9 2026-01-20 17:34:10 +05:30
idf_component.yml chore: Bump version to 3.7.9~2 2026-07-29 21:33:35 +05:30
Kconfig Add mbedTLS 4.0 (ESP-IDF 6.x) compatibility 2026-01-20 14:45:28 +05:30
LICENSE Bump up component version for mbedtls-3.x changes 2022-07-25 11:34:07 +05:30
README.md feat: update sdkconfig files and add support for esp32c5 and esp32c61 2026-07-13 18:05:36 +05:30

ESP-CRYPTOAUTHLIB

Supported Targets

Supported Target Board ESP32 ESP32-C2 ESP32-C3 ESP32-C5 ESP32-C6 ESP32-C61 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.0 or newer.
  • Environment variable IDF_PATH should be set

How to use esp-cryptoauthlib with ESP-IDF


There are two ways to use esp-cryptoauthlib in your project

  1. 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
  1. Add esp-cryptoauthlib as an extra component in your project.
  • Download esp-cryptoauthlib with:
    git clone https://github.com/espressif/esp-cryptoauthlib.git
  • Include esp-cryptoauthlib in ESP-IDF with setting EXTRA_COMPONENT_DIRS in 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