PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
|
Defines one entry of a contingency table. More...
#include <Util.hpp>
Public Member Functions | |
TableEntryStruct (unsigned int) | |
Initializes a new entry without fixed state and zero counts. | |
TableEntryStruct (unsigned int, std::vector< unsigned char > &, unsigned int, unsigned int) | |
Initializes a new entry with fixed state and counts. | |
Public Attributes | |
std::vector< unsigned char > | Key |
The probed state of the cell, i.e. a byte-wise n-bit value recorded by n probes of a probing set. | |
std::vector< unsigned int > | Count |
Counts how often state state was probed for each user-defined group. | |
Defines one entry of a contingency table.
Defines one entry, i.e. one column, of a contingency table.
Util::TableEntryStruct::TableEntryStruct | ( | unsigned int | ) |
Initializes a new entry without fixed state and zero counts.
Initializes a new entry without a predefined state but with a specified number of groups. All counters are set to zero.
GroupSize | Number of user-defined groups. |
Util::TableEntryStruct::TableEntryStruct | ( | unsigned int | , |
std::vector< unsigned char > & | , | ||
unsigned int | , | ||
unsigned int | |||
) |
Initializes a new entry with fixed state and counts.
Initializes a new entry with a predefined state and predefined counts. All counters are set to zero.
While initializing the entry, all counts are set to zero but the user can define up to two counts to increment, i.e. two group counters can be set to one.
GroupSize | Number of user-defined groups. |
NewKey | The fixed state of the entry. |
GroupIndex1 | The index of the first group. |
GroupIndex2 | The index of the second group. |
std::vector<unsigned int> Util::TableEntryStruct::Count |
std::vector<unsigned char> Util::TableEntryStruct::Key |