Fabcoin Core  0.16.2
P2P Digital Currency
Functions | Variables
bench2.cpp File Reference
#include "cryptlib.h"
#include "pubkey.h"
#include "gfpcrypt.h"
#include "eccrypto.h"
#include "bench.h"
#include "validate.h"
#include "files.h"
#include "filters.h"
#include "hex.h"
#include "rsa.h"
#include "nr.h"
#include "dsa.h"
#include "luc.h"
#include "rw.h"
#include "ecp.h"
#include "ec2n.h"
#include "asn.h"
#include "dh.h"
#include "mqv.h"
#include "hmqv.h"
#include "fhmqv.h"
#include "xtrcrypt.h"
#include "esign.h"
#include "pssr.h"
#include "oids.h"
#include "randpool.h"
#include <time.h>
#include <math.h>
#include <iostream>
#include <iomanip>
Include dependency graph for bench2.cpp:

Go to the source code of this file.

Functions

void OutputResultOperations (const char *name, const char *operation, bool pc, unsigned long iterations, double timeTaken)
 
void BenchMarkEncryption (const char *name, PK_Encryptor &key, double timeTotal, bool pc=false)
 
void BenchMarkDecryption (const char *name, PK_Decryptor &priv, PK_Encryptor &pub, double timeTotal)
 
void BenchMarkSigning (const char *name, PK_Signer &key, double timeTotal, bool pc=false)
 
void BenchMarkVerification (const char *name, const PK_Signer &priv, PK_Verifier &pub, double timeTotal, bool pc=false)
 
void BenchMarkKeyGen (const char *name, SimpleKeyAgreementDomain &d, double timeTotal, bool pc=false)
 
void BenchMarkKeyGen (const char *name, AuthenticatedKeyAgreementDomain &d, double timeTotal, bool pc=false)
 
void BenchMarkAgreement (const char *name, SimpleKeyAgreementDomain &d, double timeTotal, bool pc=false)
 
void BenchMarkAgreement (const char *name, AuthenticatedKeyAgreementDomain &d, double timeTotal, bool pc=false)
 
template<class SCHEME >
void BenchMarkCrypto (const char *filename, const char *name, double timeTotal)
 
template<class SCHEME >
void BenchMarkSignature (const char *filename, const char *name, double timeTotal)
 
template<class D >
void BenchMarkKeyAgreement (const char *filename, const char *name, double timeTotal)
 
void BenchmarkAll2 (double t, double hertz)
 

Variables

double g_hertz
 

Function Documentation

void BenchMarkAgreement ( const char *  name,
SimpleKeyAgreementDomain d,
double  timeTotal,
bool  pc = false 
)

Definition at line 170 of file bench2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BenchMarkAgreement ( const char *  name,
AuthenticatedKeyAgreementDomain d,
double  timeTotal,
bool  pc = false 
)

Definition at line 190 of file bench2.cpp.

Here is the call graph for this function:

void BenchmarkAll2 ( double  t,
double  hertz 
)

Definition at line 271 of file bench2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class SCHEME >
void BenchMarkCrypto ( const char *  filename,
const char *  name,
double  timeTotal 
)

Definition at line 241 of file bench2.cpp.

Here is the call graph for this function:

void BenchMarkDecryption ( const char *  name,
PK_Decryptor priv,
PK_Encryptor pub,
double  timeTotal 
)

Definition at line 68 of file bench2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BenchMarkEncryption ( const char *  name,
PK_Encryptor key,
double  timeTotal,
bool  pc = false 
)

Definition at line 47 of file bench2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

template<class D >
void BenchMarkKeyAgreement ( const char *  filename,
const char *  name,
double  timeTotal 
)

Definition at line 261 of file bench2.cpp.

Here is the call graph for this function:

void BenchMarkKeyGen ( const char *  name,
SimpleKeyAgreementDomain d,
double  timeTotal,
bool  pc = false 
)

Definition at line 132 of file bench2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BenchMarkKeyGen ( const char *  name,
AuthenticatedKeyAgreementDomain d,
double  timeTotal,
bool  pc = false 
)

Definition at line 151 of file bench2.cpp.

Here is the call graph for this function:

template<class SCHEME >
void BenchMarkSignature ( const char *  filename,
const char *  name,
double  timeTotal 
)

Definition at line 251 of file bench2.cpp.

Here is the call graph for this function:

void BenchMarkSigning ( const char *  name,
PK_Signer key,
double  timeTotal,
bool  pc = false 
)

Definition at line 85 of file bench2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void BenchMarkVerification ( const char *  name,
const PK_Signer priv,
PK_Verifier pub,
double  timeTotal,
bool  pc = false 
)

Definition at line 106 of file bench2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void OutputResultOperations ( const char *  name,
const char *  operation,
bool  pc,
unsigned long  iterations,
double  timeTaken 
)

Definition at line 80 of file bench1.cpp.

Here is the caller graph for this function:

Variable Documentation

double g_hertz

Definition at line 39 of file bench1.cpp.