55 virtual void init(
int platform,
int device,
size_t noOfTraces,
size_t samplesPerTrace,
size_t noOfCandidates,
const char * param) = 0;
74 #define CpaEngine_iid "cz.cvut.fit.Sicak.CpaEngineInterface/1.0" 76 Q_DECLARE_INTERFACE(
CpaEngine, CpaEngine_iid)
virtual QString getPluginName()=0
Plugin name.
virtual void deInit()=0
Deinitialize the CPA engine.
A class representing a Two-population Univariate Moment-based statistical context.
Definition: types_stat.hpp:43
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.
CPA computation engine QT plugin interface.
Definition: cpaengine.h:43
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 QString getPluginInfo()=0
Plugin info.
virtual void setConstTraces(bool constTraces=false)=0
When constTraces is set, the engine assumes the PowerTraces object is same in every call to createCon...
This header file contains class templates of power traces and power consumption containers.
A class representing a matrix, stored in the machine's free space.
Definition: types_basic.hpp:305
virtual Matrix< double > finalizeContext(const UnivariateContext< double > &context)=0
Compute correlation matrix based on given context.
A class representing a Matrix with 'noOfTraces' power predictions, with 'noOfCandidates' key candidat...
Definition: types_power.hpp:82
virtual QString queryDevices()=0
Query for devices available.
This header file contains class templates of statistical computational contexts.
A class representing a Matrix with 'noOfTraces' power traces, with 'samplesPerTrace' samples per powe...
Definition: types_power.hpp:44
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.