Fabcoin Core
0.16.2
P2P Digital Currency
|
#include "pch.h"
#include "config.h"
#include "cryptlib.h"
#include "misc.h"
#include "filters.h"
#include "algparam.h"
#include "fips140.h"
#include "argnames.h"
#include "fltrimpl.h"
#include "trdlocal.h"
#include "osrng.h"
#include "secblock.h"
#include "smartptr.h"
Go to the source code of this file.
Classes | |
class | NullNameValuePairs |
class | ClassNullRNG |
Random Number Generator that does not produce random numbers. More... | |
class | PK_DefaultEncryptionFilter |
class | PK_DefaultDecryptionFilter |
Functions | |
CRYPTOPP_COMPILE_ASSERT (sizeof(byte)==1) | |
CRYPTOPP_COMPILE_ASSERT (sizeof(word16)==2) | |
CRYPTOPP_COMPILE_ASSERT (sizeof(word32)==4) | |
CRYPTOPP_COMPILE_ASSERT (sizeof(word64)==8) | |
static const std::string | s2 ("AAD") |
const simple_ptr< NullNameValuePairs > | s_pNullNameValuePairs (new NullNameValuePairs) |
BufferedTransformation & | TheBitBucket () |
An input discarding BufferedTransformation. More... | |
RandomNumberGenerator & | NullRNG () |
Random Number Generator that does not produce random numbers. More... | |
Variables | |
const std::string | DEFAULT_CHANNEL = s1 |
Default channel for BufferedTransformation. More... | |
const std::string | AAD_CHANNEL = s2 |
Channel for additional authenticated data. More... | |
const NameValuePairs & | g_nullNameValuePairs = *s_pNullNameValuePairs.m_p |
An empty set of name-value pairs. More... | |
CRYPTOPP_COMPILE_ASSERT | ( | sizeof(byte) | = =1 | ) |
CRYPTOPP_COMPILE_ASSERT | ( | sizeof(word16) | = =2 | ) |
CRYPTOPP_COMPILE_ASSERT | ( | sizeof(word32) | = =4 | ) |
CRYPTOPP_COMPILE_ASSERT | ( | sizeof(word64) | = =8 | ) |
RandomNumberGenerator& NullRNG | ( | ) |
Random Number Generator that does not produce random numbers.
NullRNG() returns a reference that can be passed to functions that require a RandomNumberGenerator but don't actually use it. The NullRNG() throws NotImplemented when a generation function is called.
Definition at line 402 of file cryptlib.cpp.
static const std::string s2 | ( | "AAD" | ) |
const simple_ptr<NullNameValuePairs> s_pNullNameValuePairs | ( | new | NullNameValuePairs | ) |
BufferedTransformation& TheBitBucket | ( | ) |
An input discarding BufferedTransformation.
Definition at line 79 of file cryptlib.cpp.
const std::string AAD_CHANNEL = s2 |
Channel for additional authenticated data.
AAD_CHANNEL is equal to "AAD"
Definition at line 60 of file cryptlib.cpp.
const std::string DEFAULT_CHANNEL = s1 |
Default channel for BufferedTransformation.
DEFAULT_CHANNEL is equal to an empty string
Definition at line 59 of file cryptlib.cpp.
const NameValuePairs& g_nullNameValuePairs = *s_pNullNameValuePairs.m_p |
An empty set of name-value pairs.
Definition at line 76 of file cryptlib.cpp.