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

Defines a probing set. More...

#include <Definitions.hpp>

Public Member Functions

 ProbingSetStruct (unsigned int)
 Initializes a probing set with a single standard probe.
 
 ProbingSetStruct (std::vector< unsigned int > &)
 Initializes a probing set with a list of standard probes.
 
bool Covers (Hardware::ProbingSetStruct &)
 Checks if the probing set covers another probing set.
 
int FindEntry (Util::TableEntryStruct &, unsigned int)
 Checks if the contingency table contains a particular entry.
 

Public Attributes

std::vector< unsigned int > Standard
 The standard probes placed by an adversary.
 
std::vector< unsigned int > Extension
 The extensions of the standard probes, i.e. glitch- and transition-extended probes.
 
Util::ContingencyTableStruct ContingencyTable
 The contingency table storing the occurences of values probed by the extended probes.
 

Detailed Description

Defines a probing set.

Stores all information belonging to a probing set, i.e. the indices of all involved probes and the contingency table.

Author
Nicolai Müller

Definition at line 298 of file Definitions.hpp.

Constructor & Destructor Documentation

◆ ProbingSetStruct() [1/2]

Hardware::ProbingSetStruct::ProbingSetStruct ( unsigned int  )

Initializes a probing set with a single standard probe.

Parameters
pThe standard probe index.
Author
Nicolai Müller

◆ ProbingSetStruct() [2/2]

Hardware::ProbingSetStruct::ProbingSetStruct ( std::vector< unsigned int > &  )

Initializes a probing set with a list of standard probes.

Parameters
ProbeThe list of standard probe indices.
Author
Nicolai Müller

Member Function Documentation

◆ Covers()

bool Hardware::ProbingSetStruct::Covers ( Hardware::ProbingSetStruct )

Checks if the probing set covers another probing set.

Checks if the probing set can theoretically contain all extended probes of a given probing set. This leads to a higher efficiency as we can reject probing sets before comparing all extended probes. This pre-checking step proves if all extended probes of the robing set to cover are in the range of the covering probing set.

Parameters
ProbingSetThe probing set that should be covered.
Author
Nicolai Müller

◆ FindEntry()

int Hardware::ProbingSetStruct::FindEntry ( Util::TableEntryStruct ,
unsigned int   
)

Checks if the contingency table contains a particular entry.

Parameters
EntryThe contingency table entry to search.
IgnoredEntriesNumber of entries at the end of the contingency table to ignore during search.
Returns
The position of the entry in the table or -1 if the entry was not found.
Author
Nicolai Müller

Member Data Documentation

◆ ContingencyTable

Util::ContingencyTableStruct Hardware::ProbingSetStruct::ContingencyTable

The contingency table storing the occurences of values probed by the extended probes.

Definition at line 302 of file Definitions.hpp.

◆ Extension

std::vector<unsigned int> Hardware::ProbingSetStruct::Extension

The extensions of the standard probes, i.e. glitch- and transition-extended probes.

Definition at line 301 of file Definitions.hpp.

◆ Standard

std::vector<unsigned int> Hardware::ProbingSetStruct::Standard

The standard probes placed by an adversary.

Definition at line 300 of file Definitions.hpp.


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