at-cryptoauth

Crates.ioat-cryptoauth
lib.rsat-cryptoauth
version0.4.0
sourcesrc
created_at2021-01-26 13:41:11.668017
updated_at2021-12-30 08:16:29.843564
descriptionDriver for ATECC608 Crypto Authentication secure elements
homepage
repositoryhttps://github.com/BlackbirdHQ/at-cryptoauth-rs
max_upload_size
id346872
size128,755
hardware-development (github:blackbirdhq:hardware-development)

documentation

https://docs.rs/at-cryptoauth

README

ATECCx08 CryptoAuth

Existing works

The chip vendor open-sources CryptoAuthLib, the official driver library. It is firmly coupled with the Harmony framework and well suited for SAM families.

Rusty_CryptoAuthLib is an implementation in Rust that maintains API compatibility with the CryptoAuthlib.

Limitations

This driver only supports ATECC608 over an I2C bus and on its host side, STM32-L4 family or RaspberryPi. As a matter of fact, tests have been running only on these combinations.

By design, the driver does not conform to the vendor’s authentic library implementation. Instead, it provides with just a tiny subset of APIs, which is necessary and sufficient for implementing traits proposed by Rust Crypto.

Prior to finalize the device, a user has to plan how to deploy or generate keys and which API operates on them. The driver imposes a fixed usage model called TNG-TLS. At the cost of the users’ degree of freedom, the limited scope helps them provision the device.

Commit count: 58

cargo fmt