PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
Loading...
Searching...
No Matches
Namespaces | Functions
Test.hpp File Reference
#include <iostream>
#include <numeric>
#include <omp.h>
#include <boost/math/distributions/chi_squared.hpp>
#include <boost/math/distributions/inverse_chi_squared.hpp>
#include <boost/math/distributions/non_central_chi_squared.hpp>
#include "Hardware/Definitions.hpp"
#include "Util/Util.hpp"

Go to the source code of this file.

Namespaces

namespace  Hardware
 
namespace  Hardware::Test
 

Functions

void Hardware::Test::CompactTableUpdate (Hardware::SimulationStruct &, unsigned int, Hardware::TestStruct &, std::vector< int > &)
 Compact update of a single contingency table.
 
void Hardware::Test::CompactTest (Hardware::SimulationStruct &, Hardware::TestStruct &)
 Adds the new simulations to the contingency tables in compact mode and computes a new g-value for each table.
 
void Hardware::Test::NormalTableUpdate (Hardware::SimulationStruct &, Hardware::TestStruct &, Hardware::ProbingSetStruct &, std::vector< Util::TableEntryStruct > &)
 Normal update of all contingency tables.
 
void Hardware::Test::NormalTest (Hardware::SettingsStruct &, Hardware::SimulationStruct &, Hardware::TestStruct &)
 Adds the new simulations to the contingency tables in normal mode, computes a new g-value for each table, and performs statistical power analysis.
 
int Hardware::Test::SearchKey (std::vector< std::vector< unsigned char > > &, std::vector< unsigned char > &, unsigned int)
 Searches for a particular probed state in a normal mode continagency table.
 
void Hardware::Test::All (Hardware::SettingsStruct &, Hardware::SimulationStruct &, Hardware::TestStruct &, char)
 Performs the full test procedure.