Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

sparkgap

Just for fun

Sparkgap is a major refactor of my previous SCA and FI code. This provides a more consistent UI experience (console instead of paragraph-length command-lines), better self-contained documentation and a single unified support module for both FI and SCA tasks.

This toolkit contains:

  • cpa.py, wrapper for correlation attacks
  • dpa.py, wrapper for differential attacks
  • plot.py, a simple trace visualizer
  • preprocessor.py, a signal alignment tool
  • capturebuddy.py, wrapper for signal acquisition jobs
    • frontends/*, wrapper scripts for various acquisition frontends
    • drivers/*, wrapper scripts for logic control drivers
  • triggerbuddy.py, control script for TriggerBuddy FPGA module
  • support/*, a single support package for FI and SCA
  • support/attacks/*, distinguisher and correlation modeling
  • experiments/*, in-progress and successful attacks
  • docs/*, self-contained markdown documentation
  • fpga/*, the source code + bitstream for a TriggerBuddy (for Arty A7 35T variant)

These tools should be used in a workflow. A quick start workflow is documented here, and more documentation can be found in the docs/ folder. You should also read this to extend the framework.

The code is provided as-is, pull requests welcome :)

You can’t perform that action at this time.