|
SIde-Channel Analysis toolKit (SICAK)
Software toolkit for side-channel analysis
|
A class representing a Matrix with 'noOfTraces' power predictions, with 'noOfCandidates' key candidates per prediction. More...
#include <types_power.hpp>


Public Member Functions | |
| PowerPredictions () | |
| Constructs an empty Matrix with no elements. Needs to be initialized first (init). | |
| PowerPredictions (size_t noOfCandidates, size_t noOfTraces) | |
| Constructs a Matrix with 'noOfCandidates' * 'noOfTraces' elements. | |
| PowerPredictions (size_t noOfCandidates, size_t noOfTraces, T initVal) | |
| Constructs a Matrix with 'noOfCandidates' * 'noOfTraces' elements and fills it with 'initVal'. | |
| PowerPredictions (PowerPredictions &&other) | |
| Move constructor. | |
| PowerPredictions & | operator= (PowerPredictions &&other) |
| Move assignment operator. | |
| ~PowerPredictions () | |
| Empty destructor. | |
| virtual void | init (size_t noOfCandidates, size_t noOfTraces) |
| Initializes the matrix with a specified number of cols and rows. | |
| virtual size_t | noOfCandidates () const |
| Returns number of key candidates per power prediction. | |
| virtual size_t | noOfTraces () const |
| Returns number of power predictions. | |
| virtual T & | operator() (size_t keyCandidate, size_t trace) |
| Accesses an element in the matrix. Doesn't check for bounds. | |
| virtual const T & | operator() (size_t keyCandidate, size_t trace) const |
| Accesses an element in the matrix. Doesn't check for bounds. | |
Public Member Functions inherited from Matrix< T > | |
| Matrix () | |
| Constructs an empty Matrix with no elements. Needs to be initialized first (init). | |
| Matrix (size_t cols, size_t rows) | |
| Constructs a Matrix with 'cols' * 'rows' elements. | |
| Matrix (size_t cols, size_t rows, T initVal) | |
| Constructs a Matrix with 'cols' * 'rows' elements and fills it with 'initVal'. | |
| Matrix (Matrix &&other) | |
| Move constructor. | |
| Matrix & | operator= (Matrix &&other) |
| Move assignment operator. | |
| virtual | ~Matrix () |
| Empty destructor. | |
| virtual size_t | cols () const |
| Returns number of columns. | |
| virtual size_t | rows () const |
| Returns number of rows. | |
| virtual void | init (size_t cols, size_t rows, T initVal) |
| Initializes the matrix with a specified number of cols and rows and fills it with 'val'. | |
| virtual T * | data () |
| Returns a pointer to the contained data. | |
| virtual const T * | data () const |
| Returns a const pointer to the contained data. | |
| virtual size_t | length () const |
| Returns number of elements in the container. | |
| virtual size_t | size () const |
| Returns the size of the contained data (i.e. length * sizeof(T)) | |
| virtual void | fill (T val) |
| Fills the container with the 'val'. | |
Public Member Functions inherited from MatrixType< T > | |
| virtual | ~MatrixType () |
| Empty destructor. | |
Public Member Functions inherited from ArrayType< T > | |
| virtual | ~ArrayType () |
| Empty destructor. | |
Public Member Functions inherited from DataType | |
| virtual | ~DataType () |
| Empty destructor. | |
Additional Inherited Members | |
Protected Member Functions inherited from MatrixType< T > | |
| MatrixType () | |
| Protected constructor. | |
Protected Member Functions inherited from ArrayType< T > | |
| ArrayType () | |
| Protected constructor. | |
Protected Member Functions inherited from DataType | |
| DataType () | |
| Protected constructor. | |
Protected Attributes inherited from Matrix< T > | |
| Vector< T > | m_vector |
| A Matrix is composed using a large Vector. | |
| size_t | m_cols |
| Number of columns. | |
| size_t | m_rows |
| Number of rows. | |
A class representing a Matrix with 'noOfTraces' power predictions, with 'noOfCandidates' key candidates per prediction.
1.8.15