Skip to content

Lightweight driver for Microchip's Crypto Authentication secure elements written in pure python for micropython

License

Notifications You must be signed in to change notification settings

natemiller1/ucryptoauthlib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ucryptoauthlib

Lightweight driver for Microchip Crypto Authentication secure elements written in pure python for micropython.

WARNING: this project is in beta stage and is subject to changes of the code-base, including project-wide name changes and API changes.

Features

  • Allows PyBoard to control Microchip Crypto Authentication secure elements

Usage

  • TESTS:
MicroPython v1.9.4-575-g6ea6c7cc9-dirty on 2018-09-25; PYBv1.1 with STM32F405RG
Type "help()" for more information.
>>> import atecc508a
INFO:atecc508a <ATECC508A address=0x60 retries=20>
INFO:atecc508a INFO SUCCEDED
INFO:atecc508a SHA SUCCEDED
INFO:atecc508a RANDOM SUCCEDED
>>>

Enable DEBUG:

import logging
logging.basicConfig(level=logging.DEBUG)
import atecc508a

External dependencies

Only for tests: 'logging' already available into folder 'micropython-lib' of this repository

Install 'cryptoauthlib' into the PyBoard

  • Copy 'cryptoauthlib' into PyBoard's filesystem

Software

Currently supported commands are:

  • INFO
  • SHA
  • RANDOM

Hardware

Currently supported devices are:

About

Lightweight driver for Microchip's Crypto Authentication secure elements written in pure python for micropython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%