#include "cryptlib.h"
#include "factory.h"
#include "integer.h"
#include "filters.h"
#include "hex.h"
#include "randpool.h"
#include "files.h"
#include "trunhash.h"
#include "queue.h"
#include "smartptr.h"
#include "validate.h"
#include "hkdf.h"
#include "stdcpp.h"
#include <iostream>
Go to the source code of this file.
|
| typedef std::map< std::string, std::string > | TestData |
| |
|
| bool | DataExists (const TestData &data, const char *name) |
| |
| const std::string & | GetRequiredDatum (const TestData &data, const char *name) |
| |
| void | RandomizedTransfer (BufferedTransformation &source, BufferedTransformation &target, bool finish, const std::string &channel=DEFAULT_CHANNEL) |
| |
| void | PutDecodedDatumInto (const TestData &data, const char *name, BufferedTransformation &target) |
| |
| std::string | GetDecodedDatum (const TestData &data, const char *name) |
| |
| std::string | GetOptionalDecodedDatum (const TestData &data, const char *name) |
| |
| void | TestKeyPairValidAndConsistent (CryptoMaterial &pub, const CryptoMaterial &priv) |
| |
| void | TestSignatureScheme (TestData &v) |
| |
| void | TestAsymmetricCipher (TestData &v) |
| |
| void | TestSymmetricCipher (TestData &v, const NameValuePairs &overrideParameters) |
| |
| void | TestAuthenticatedSymmetricCipher (TestData &v, const NameValuePairs &overrideParameters) |
| |
| void | TestDigestOrMAC (TestData &v, bool testDigest) |
| |
| void | TestKeyDerivationFunction (TestData &v) |
| |
| bool | GetField (std::istream &is, std::string &name, std::string &value) |
| |
| void | OutputPair (const NameValuePairs &v, const char *name) |
| |
| void | OutputNameValuePairs (const NameValuePairs &v) |
| |
| void | TestDataFile (std::string filename, const NameValuePairs &overrideParameters, unsigned int &totalTests, unsigned int &failedTests) |
| |
| bool | RunTestDataFile (const char *filename, const NameValuePairs &overrideParameters, bool thorough) |
| |
| #define CRYPTOPP_DEFAULT_NO_DLL |
| #define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 |
| typedef std::map<std::string, std::string> TestData |
| bool DataExists |
( |
const TestData & |
data, |
|
|
const char * |
name |
|
) |
| |
| std::string GetDecodedDatum |
( |
const TestData & |
data, |
|
|
const char * |
name |
|
) |
| |
| bool GetField |
( |
std::istream & |
is, |
|
|
std::string & |
name, |
|
|
std::string & |
value |
|
) |
| |
| std::string GetOptionalDecodedDatum |
( |
const TestData & |
data, |
|
|
const char * |
name |
|
) |
| |
| const std::string& GetRequiredDatum |
( |
const TestData & |
data, |
|
|
const char * |
name |
|
) |
| |
| bool RunTestDataFile |
( |
const char * |
filename, |
|
|
const NameValuePairs & |
overrideParameters, |
|
|
bool |
thorough |
|
) |
| |
| void TestAsymmetricCipher |
( |
TestData & |
v | ) |
|
| void TestDataFile |
( |
std::string |
filename, |
|
|
const NameValuePairs & |
overrideParameters, |
|
|
unsigned int & |
totalTests, |
|
|
unsigned int & |
failedTests |
|
) |
| |
| void TestDigestOrMAC |
( |
TestData & |
v, |
|
|
bool |
testDigest |
|
) |
| |
| void TestKeyDerivationFunction |
( |
TestData & |
v | ) |
|
| void TestSignatureScheme |
( |
TestData & |
v | ) |
|