SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
CPA correlation matrix evaluation SICAK CpaCorrEval plugin, looking for maximum edge, i.e. largest derivation of correlation trace, approximated by convolving with derivative of gaussian. More...
#include <maxedge.h>
Public Member Functions | |
virtual QString | getPluginName () override |
Plugin name. | |
virtual QString | getPluginInfo () override |
Plugin info. | |
virtual void | init (const char *param) override |
Initialize the plugin, prepare convolutional kernel for further evaluations (first derivative of gaussian) based on parameters: param="d,sigma", e.g. "11,5.0". | |
virtual void | deInit () override |
Deinitialize the plugin. | |
virtual void | evaluateCorrelations (MatrixType< double > &correlationMatrix, size_t &sample, size_t &keyCandidate) override |
Evaluate the correlation matrix, save the results in sample and keyCandidate. | |
Protected Member Functions | |
Matrix< double > | convolveMatrixRows (MatrixType< double > &matrix, VectorType< double > &kernel) |
Convolve rows of matrix. | |
Vector< double > | generateDerivativeGaussianKernel (size_t diameter, double deviation) |
Generate derivative of gaussian kernel, which works as edge detector. | |
Protected Attributes | |
Vector< double > | m_kernel |
Additional Inherited Members |
CPA correlation matrix evaluation SICAK CpaCorrEval plugin, looking for maximum edge, i.e. largest derivation of correlation trace, approximated by convolving with derivative of gaussian.