PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Util::TableEntryStruct Struct Reference

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.
 

Detailed Description

Defines one entry of a contingency table.

Defines one entry, i.e. one column, of a contingency table.

Author
Nicolai Müller

Definition at line 22 of file Util.hpp.

Constructor & Destructor Documentation

◆ TableEntryStruct() [1/2]

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.

Parameters
GroupSizeNumber of user-defined groups.
Author
Nicolai Müller

◆ TableEntryStruct() [2/2]

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.

Parameters
GroupSizeNumber of user-defined groups.
NewKeyThe fixed state of the entry.
GroupIndex1The index of the first group.
GroupIndex2The index of the second group.
Author
Nicolai Müller

Member Data Documentation

◆ Count

std::vector<unsigned int> Util::TableEntryStruct::Count

Counts how often state state was probed for each user-defined group.

Definition at line 24 of file Util.hpp.

◆ Key

std::vector<unsigned char> Util::TableEntryStruct::Key

The probed state of the cell, i.e. a byte-wise n-bit value recorded by n probes of a probing set.

Definition at line 23 of file Util.hpp.


The documentation for this struct was generated from the following file: