maxboone / chacha20-chipwhisperer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChaCha20 Chipwhisperer

  • Max Boone (s2081318)
  • Sven Hepkema (s2454556)
  • Guus Kleinlein (s3745880)

Project

In the books folder you will find the notebooks used to execute the attack. In include and lib you will find the library code used to build the algorithms for the ChipWhisperer.

Building

The firmware can be built using the Makefile in the root of the repository:

make ALGO=shiffthq PLATFORM=CWLITEARM SS_VER=SS_VER_1_1
make ALGO=mbedtls PLATFORM=CWLITEARM SS_VER=SS_VER_1_1

Flashing

Use the flash-and-measure.ipynb to flash and run the algorithm and traces, ensure to set the correct variables in the top cells for your platform and algorithm and use the necessary run_many_traces calls at the bottom of the book.

Attack Analysis

Use the attack-$algo-$traces.ipynb notebooks to execute the correlation analysis, note that this will take quite some time and memory on larger traces.

About


Languages

Language:C 64.5%Language:C++ 12.5%Language:Jupyter Notebook 6.9%Language:Roff 5.1%Language:Shell 3.8%Language:Perl 1.8%Language:Assembly 1.7%Language:Python 1.6%Language:Makefile 1.0%Language:HTML 0.3%Language:Jinja 0.1%Language:Go 0.1%Language:CMake 0.1%Language:M4 0.1%Language:JavaScript 0.1%Language:Raku 0.0%Language:Dockerfile 0.0%Language:Starlark 0.0%Language:Lex 0.0%Language:Awk 0.0%Language:Batchfile 0.0%Language:Yacc 0.0%Language:GDB 0.0%Language:sed 0.0%Language:NWScript 0.0%Language:Tcl 0.0%