#include "cryptlib.h"
#include "bench.h"
#include "validate.h"
#include "aes.h"
#include "blumshub.h"
#include "files.h"
#include "filters.h"
#include "hex.h"
#include "modes.h"
#include "factory.h"
#include "smartptr.h"
#include "cpu.h"
#include <time.h>
#include <math.h>
#include <iostream>
#include <sstream>
#include <iomanip>
Go to the source code of this file.
|
void | OutputResultBytes (const char *name, double length, double timeTaken) |
|
void | OutputResultKeying (double iterations, double timeTaken) |
|
void | OutputResultOperations (const char *name, const char *operation, bool pc, unsigned long iterations, double timeTaken) |
|
void | BenchMark (const char *name, StreamTransformation &cipher, double timeTotal) |
|
void | BenchMark (const char *name, AuthenticatedSymmetricCipher &cipher, double timeTotal) |
|
void | BenchMark (const char *name, HashTransformation &ht, double timeTotal) |
|
void | BenchMark (const char *name, BufferedTransformation &bt, double timeTotal) |
|
void | BenchMarkKeying (SimpleKeyingInterface &c, size_t keyLength, const NameValuePairs ¶ms) |
|
template<class T_FactoryOutput , class T_Interface > |
void | BenchMarkByName2 (const char *factoryName, size_t keyLength=0, const char *displayName=NULL, const NameValuePairs ¶ms=g_nullNameValuePairs) |
|
template<class T_FactoryOutput > |
void | BenchMarkByName (const char *factoryName, size_t keyLength=0, const char *displayName=NULL, const NameValuePairs ¶ms=g_nullNameValuePairs) |
|
template<class T > |
void | BenchMarkByNameKeyLess (const char *factoryName, const char *displayName=NULL, const NameValuePairs ¶ms=g_nullNameValuePairs) |
|
void | BenchmarkAll (double t, double hertz) |
|
void BenchmarkAll |
( |
double |
t, |
|
|
double |
hertz |
|
) |
| |
template<class T_FactoryOutput >
template<class T_FactoryOutput , class T_Interface >
void OutputResultBytes |
( |
const char * |
name, |
|
|
double |
length, |
|
|
double |
timeTaken |
|
) |
| |
void OutputResultKeying |
( |
double |
iterations, |
|
|
double |
timeTaken |
|
) |
| |
void OutputResultOperations |
( |
const char * |
name, |
|
|
const char * |
operation, |
|
|
bool |
pc, |
|
|
unsigned long |
iterations, |
|
|
double |
timeTaken |
|
) |
| |
const double CLOCK_TICKS_PER_SECOND = 1000000.0 |
double g_allocatedTime = 0 |
unsigned int logcount = 0 |