An Arduino library for Atmel's ATSHA204A, ATECC508A
C C++ Other Assembly Makefile
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 6 commits ahead, 14 commits behind cryptotronix:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
extras
src
.gitignore
LICENSE
README.md
library.properties

README.md

cryptoauth-arduino

An Arduino library for Atmel's CryptoAuthentication Devices (ATSHA204x, ATECC108x and ATECC508A).

This version is a fork of the original Cryptotronix cryptoauth-arduino library with the following changes:

  • Replace Atmel code with updated code that supports the ATECC508 chips
  • Update API to implement additional functionality to retrieve chip info, lock individual slots, add key selection to sign and verify functions.
  • Provide a comprehensive example/demo sketch covering personalization, public and private key generation, SHA256 hash generation, message signing and verification functions.

Original Readme warning below:

WARNING

This software is in pre-alpha! It's probably best that you first configure the chip on a linux based platform using the EClet driver for the 108 or the hashlet driver for the 204. Once configured, you'll have an easier time of using this library.

In the example file is the basic get random function which will return a fixed test pattern if you haven't personalized your device. Once personalized (with the above linux drivers) you will get 32 bytes of random.

Feel free to create a new issue for bugs and features requests. Pull requests are welcome too :)

License

Atmel's code is licensed under a custom open source license. It is included under extras. I share the interpretation of the license as these guys.