SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
Implementation of t-test statistical algorithms as function templates for various SICAK plugins. More...
#include <cmath>
#include <omp.h>
#include "exceptions.hpp"
#include "types_power.hpp"
#include "types_stat.hpp"
Go to the source code of this file.
Functions | |
template<class T , class U > | |
void | UniFoTTestAddTraces (UnivariateContext< T > &c, const PowerTraces< U > &randTraces, const PowerTraces< U > &constTraces) |
Adds given random and constant power traces to the given statistical context. Use zeroed or meaningful UnivariateContext c! More... | |
template<class T > | |
void | UniFoTTestMergeContexts (UnivariateContext< T > &firstAndOut, const UnivariateContext< T > &second) |
Merges two UnivariateContext and leaves the result in first context given. More... | |
template<class T > | |
void | UniFoTTestComputeTValsDegs (const UnivariateContext< T > &c, MatrixType< T > &tValsDegs) |
Computes final t-values and degrees of freedom based on a UnivariateContext given, stores t-vals in first row, d.o.f. in second row of output matrix. More... | |
Implementation of t-test statistical algorithms as function templates for various SICAK plugins.
void UniFoTTestAddTraces | ( | UnivariateContext< T > & | c, |
const PowerTraces< U > & | randTraces, | ||
const PowerTraces< U > & | constTraces | ||
) |
Adds given random and constant power traces to the given statistical context. Use zeroed or meaningful UnivariateContext c!
void UniFoTTestComputeTValsDegs | ( | const UnivariateContext< T > & | c, |
MatrixType< T > & | tValsDegs | ||
) |
Computes final t-values and degrees of freedom based on a UnivariateContext given, stores t-vals in first row, d.o.f. in second row of output matrix.
void UniFoTTestMergeContexts | ( | UnivariateContext< T > & | firstAndOut, |
const UnivariateContext< T > & | second | ||
) |
Merges two UnivariateContext and leaves the result in first context given.