Skip to content

kmwebnet/ECC608-AES-GCM-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECC608-AES-GCM-Test

This tests AES-GCM function by storing and using key at ATECC608A secret slot.
all of components for running AES-GCM command will store into ATECC608A's slot 8.

IV(12byte) ,tag(16)bytes ,to be crypted data (240)bytes

this is ideal to store secret information inside the device securely by prohibiting AES key access.

image

Requirements

Platformio with VS Code environment.
install "Espressif 32" platform definition on Platformio configure ATECC608A slot 5 to work with AES command properly.

Environment reference

Espressif ESP32-DevkitC
this project initializes both of I2C 0,1 port, and the device on I2C port 0 is absent.
pin assined as below:

  I2C 0 SDA GPIO_NUM_18
  I2C 0 SCL GPIO_NUM_19

  I2C 1 SDA GPIO_NUM_21
  I2C 1 SCL GPIO_NUM_22

Microchip ATECC608A(on I2C port 1)

Usage

"git clone --recursive " on your target directory.
you need to change a serial port number which actually connected to ESP32 in platformio.ini.

Run this project

just execute "Upload" on Platformio.

License

This software is released under the MIT License, see LICENSE.

About

This tests AES-GCM function by storing and using key at ATECC608A secret slot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages