MicrochipTech / cryptoauthlib

Library for interacting with the Crypto Authentication secure elements
Other
379 stars 220 forks source link

Arduino support #24

Open gyengus opened 6 years ago

gyengus commented 6 years ago

Do you have, or plan arduino support?

ronnytittoto commented 6 years ago

Check these projects, would they help? https://github.com/arduino-libraries/ArduinoBearSSL https://github.com/arduino-libraries/ArduinoECCX08 https://github.com/CryptoThings/AtCryptoAuthLib

Misiu commented 5 years ago

@bryan-hunt it would be awesome to have an official library. I'm developing using https://github.com/esp8266/Arduino so Arduino/ESP8266/ESP32 support would be awesome! https://github.com/CryptoThings/AtCryptoAuthLib is a good starting point

GabrielNotman commented 5 years ago

@gyengus @Misiu I have been working on fork here: https://github.com/GabrielNotman/cryptoauthlib

I still need to add some instructions and examples but here are the main points:

I've tested it with a SAMD21 based board. For AVR boards you might need to use bitbang due to Wire buffer sizes.

gannaramu commented 3 years ago

@GabrielNotman any plans of syncing it up with the latest release from Microchip? I was looking to use with the Atecc Trust and Go chips ATECC608 TNGTLS.

GabrielNotman commented 3 years ago

@gannaramu I'm currently working on updating it to v3.2.4.

gannaramu commented 3 years ago

@GabrielNotman That would be really helpful!. I can help you test things I have a cryptoauth trust platform connected to a teensy4.0 board. For the past couple of days, I have been modifying the https://github.com/sparkfun/SparkFun_ATECCX08a_Arduino_Library to be able to read the X509 certificate stored in the device. I was still not sure how to decompress the certificate to a PEM format. Could you please guide me with any relevant resources?.

Thanks Ram Rohit