#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>
Go to the source code of this file.
|
| 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) |
| |
| void BenchmarkAll2 |
( |
double |
t, |
|
|
double |
hertz |
|
) |
| |
template<class SCHEME >
| void BenchMarkCrypto |
( |
const char * |
filename, |
|
|
const char * |
name, |
|
|
double |
timeTotal |
|
) |
| |
| void BenchMarkEncryption |
( |
const char * |
name, |
|
|
PK_Encryptor & |
key, |
|
|
double |
timeTotal, |
|
|
bool |
pc = false |
|
) |
| |
template<class D >
| void BenchMarkKeyAgreement |
( |
const char * |
filename, |
|
|
const char * |
name, |
|
|
double |
timeTotal |
|
) |
| |
template<class SCHEME >
| void BenchMarkSignature |
( |
const char * |
filename, |
|
|
const char * |
name, |
|
|
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 OutputResultOperations |
( |
const char * |
name, |
|
|
const char * |
operation, |
|
|
bool |
pc, |
|
|
unsigned long |
iterations, |
|
|
double |
timeTaken |
|
) |
| |