Skip to content

Commit

Permalink
Merge branch 'feature/add_cryptoauthlib_support_for_c5' into 'master'
Browse files Browse the repository at this point in the history
support target esp32c5 in esp_cryptoauthlib

See merge request espressif/esp-cryptoauthlib!35
  • Loading branch information
mahavirj committed Dec 2, 2024
2 parents a4138da + 2277ac8 commit d0e859e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ESP-CRYPTOAUTHLIB

This is a port of Microchip's [cryptoauthlib](https://github.com/MicrochipTech/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 and ESP32C6. The cryptoauthlib folder which is a subset of Microchip's [cryptoauthlib](https://github.com/MicrochipTech/cryptoauthlib) is created with help of script [generate_component.sh](https://github.com/espressif/esp-cryptoauthlib/blob/master/generate_component.sh).
This is a port of Microchip's [cryptoauthlib](https://github.com/MicrochipTech/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](https://github.com/MicrochipTech/cryptoauthlib) is created with help of script [generate_component.sh](https://github.com/espressif/esp-cryptoauthlib/blob/master/generate_component.sh).

## Requirements

Expand Down
4 changes: 2 additions & 2 deletions esp_cryptoauth_utility/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# ESP_CRYPTOAUTH_UTILITY

# Description
The python utility helps to configure and provision [ATECC608A](https://www.microchip.com/en-us/product/atecc608a)/[ATECC608B](https://www.microchip.com/en-us/product/atecc608b) chip connected to an ESP module. Currently the utility is supported for ESP32, ESP32S3, ESP32C3 and ESP32C6.
The python utility helps to configure and provision [ATECC608A](https://www.microchip.com/en-us/product/atecc608a)/[ATECC608B](https://www.microchip.com/en-us/product/atecc608b) chip connected to an ESP module. Currently the utility is supported for ESP32, ESP32S3, ESP32C3, ESP32C5 and ESP32C6.

There are currently three types of ATECC608 which are [Trust & Go](https://www.microchip.com/wwwproducts/en/ATECC608A-TNGTLS), [TrustFlex](https://www.microchip.com/wwwproducts/en/ATECC608A-TFLXTLS) and [TrustCustom](https://www.microchip.com/wwwproducts/en/ATECC608A). `Trust & Go` and `TrustFlex` chips are preconfigured by the manufacturer (Microchip) so we only need to generate manifest file for those chips. `TrustCustom` type of chips are not configured, so for `TrustCustom` type of chips need to be first configured and then provisioned with a newly generated device certificate and key pair. The script automatically detects which type of ATECC608 chip is connected to the ESP module so it will proceed to the next required step on its own.

# Hardware Required

* One ESP32, ESP32S3, ESP32C3 or ESP32C6 module.
* One ESP32, ESP32S3, ESP32C3, ESP32C5 or ESP32C6 module.
* An [ATECC608A](https://www.microchip.com/en-us/product/atecc608a)/[ATECC608B](https://www.microchip.com/en-us/product/atecc608b) connected with the ESP module using I2C interface.

## Installation
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion esp_cryptoauth_utility/secure_cert_mfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import sample_bins
import sample_certs

supported_targets = {'esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6'}
supported_targets = {'esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c5', 'esp32c6'}
try:
import esptool
except ImportError: # cheat and use IDF's copy of esptool if available
Expand Down
4 changes: 2 additions & 2 deletions esp_cryptoauth_utility/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ def get_install_requires():
)
exit(1)

VERSION = '0.12.0'
VERSION = '0.13.0'

long_description = """
======================
esp-cryptoauth-utility
======================
The python utility helps to configure and provision ATECC608 chip connected to an ESP module. Currently the utility is supported for ESP32, ESP32S3, ESP32C3 and ESP32C6.
The python utility helps to configure and provision ATECC608 chip connected to an ESP module. Currently the utility is supported for ESP32, ESP32S3, ESP32C3, ESP32C5 and ESP32C6.
The esp-cryptoauth-utility is `hosted on github <https://github.com/espressif/esp-cryptoauthlib/tree/master/esp_cryptoauth_utility>`_.
Expand Down
4 changes: 2 additions & 2 deletions examples/atecc608_ecdsa/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-S3 | ESP32-C3 | ESP32-C6 |
| ----------------- | ----- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-S3 | ESP32-C3 | ESP32-C5 | ESP32-C6 |
| ----------------- | ----- | -------- | -------- | -------- | -------- |

# ECDSA sign/verify Example with ESP32 series SoC interfaced with ATECC608A

Expand Down
2 changes: 1 addition & 1 deletion idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.5.1~6"
version: "3.5.1~7"
description: "esp-cryptoauthlib: The port of Microchip CryptoAuthentication Library for ESP-IDF"
url: https://github.com/espressif/esp-cryptoauthlib
dependencies:
Expand Down

0 comments on commit d0e859e

Please sign in to comment.