SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
Public Member Functions | List of all members
CpaEngine Class Referenceabstract

CPA computation engine QT plugin interface. More...

#include <cpaengine.h>

Inheritance diagram for CpaEngine:
Inheritance graph
Collaboration diagram for CpaEngine:
Collaboration graph

Public Member Functions

virtual QString getPluginName ()=0
 Plugin name.
 
virtual QString getPluginInfo ()=0
 Plugin info.
 
virtual void init (int platform, int device, size_t noOfTraces, size_t samplesPerTrace, size_t noOfCandidates, const char *param)=0
 Initialize the CPA computation engine with specified parameters.
 
virtual void deInit ()=0
 Deinitialize the CPA engine.
 
virtual QString queryDevices ()=0
 Query for devices available.
 
virtual void setConstTraces (bool constTraces=false)=0
 When constTraces is set, the engine assumes the PowerTraces object is same in every call to createContext function and does not change between calls.
 
virtual UnivariateContext< double > createContext (const PowerTraces< int16_t > &powerTraces, const PowerPredictions< uint8_t > &powerPredictions)=0
 Create a CPA computation context based on given power traces and power predictions.
 
virtual void mergeContexts (UnivariateContext< double > &firstAndOut, const UnivariateContext< double > &second)=0
 Merge the two CPA contexts, stores the result in the first of the contexts.
 
virtual Matrix< double > finalizeContext (const UnivariateContext< double > &context)=0
 Compute correlation matrix based on given context.
 

Detailed Description

CPA computation engine QT plugin interface.


The documentation for this class was generated from the following file: