argnames.h
Go to the documentation of this file.
// argnames.h - originally written and placed in the public domain by Wei Dai
/// \file argnames.h
/// \brief Standard names for retrieving values by name when working with \p NameValuePairs
#ifndef CRYPTOPP_ARGNAMES_H
#define CRYPTOPP_ARGNAMES_H
#include "cryptlib.h"
NAMESPACE_BEGIN(CryptoPP)
DOCUMENTED_NAMESPACE_BEGIN(Name)
#define CRYPTOPP_DEFINE_NAME_STRING(name) inline const char *name() {return #name;}
CRYPTOPP_DEFINE_NAME_STRING(ValueNames) ///< string, a list of value names with a semicolon (';') after each name
CRYPTOPP_DEFINE_NAME_STRING(Version) ///< int
CRYPTOPP_DEFINE_NAME_STRING(Seed) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(Key) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(IV) ///< ConstByteArrayParameter, also accepts const byte * for backwards compatibility
CRYPTOPP_DEFINE_NAME_STRING(StolenIV) ///< byte *
CRYPTOPP_DEFINE_NAME_STRING(Nonce) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(Rounds) ///< int
CRYPTOPP_DEFINE_NAME_STRING(FeedbackSize) ///< int
CRYPTOPP_DEFINE_NAME_STRING(WordSize) ///< int, in bytes
CRYPTOPP_DEFINE_NAME_STRING(BlockSize) ///< int, in bytes
CRYPTOPP_DEFINE_NAME_STRING(EffectiveKeyLength) ///< int, in bits
CRYPTOPP_DEFINE_NAME_STRING(KeySize) ///< int, in bits
CRYPTOPP_DEFINE_NAME_STRING(ModulusSize) ///< int, in bits
CRYPTOPP_DEFINE_NAME_STRING(SubgroupOrderSize) ///< int, in bits
CRYPTOPP_DEFINE_NAME_STRING(PrivateExponentSize)///< int, in bits
CRYPTOPP_DEFINE_NAME_STRING(Modulus) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(PublicExponent) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(PrivateExponent) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(PublicElement) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(SubgroupOrder) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(Cofactor) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(SubgroupGenerator) ///< Integer, ECP::Point, or EC2N::Point
CRYPTOPP_DEFINE_NAME_STRING(Curve) ///< ECP or EC2N
CRYPTOPP_DEFINE_NAME_STRING(GroupOID) ///< OID
CRYPTOPP_DEFINE_NAME_STRING(PointerToPrimeSelector) ///< const PrimeSelector *
CRYPTOPP_DEFINE_NAME_STRING(Prime1) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(Prime2) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(ModPrime1PrivateExponent) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(ModPrime2PrivateExponent) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(MultiplicativeInverseOfPrime2ModPrime1) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(QuadraticResidueModPrime1) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(QuadraticResidueModPrime2) ///< Integer
CRYPTOPP_DEFINE_NAME_STRING(PutMessage) ///< bool
CRYPTOPP_DEFINE_NAME_STRING(TruncatedDigestSize) ///< int
CRYPTOPP_DEFINE_NAME_STRING(BlockPaddingScheme) ///< StreamTransformationFilter::BlockPaddingScheme
CRYPTOPP_DEFINE_NAME_STRING(HashVerificationFilterFlags) ///< word32
CRYPTOPP_DEFINE_NAME_STRING(AuthenticatedDecryptionFilterFlags) ///< word32
CRYPTOPP_DEFINE_NAME_STRING(SignatureVerificationFilterFlags) ///< word32
CRYPTOPP_DEFINE_NAME_STRING(InputBuffer) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(OutputBuffer) ///< ByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(InputFileName) ///< const char *
CRYPTOPP_DEFINE_NAME_STRING(InputFileNameWide) ///< const wchar_t *
CRYPTOPP_DEFINE_NAME_STRING(InputStreamPointer) ///< std::istream *
CRYPTOPP_DEFINE_NAME_STRING(InputBinaryMode) ///< bool
CRYPTOPP_DEFINE_NAME_STRING(OutputFileName) ///< const char *
CRYPTOPP_DEFINE_NAME_STRING(OutputFileNameWide) ///< const wchar_t *
CRYPTOPP_DEFINE_NAME_STRING(OutputStreamPointer) ///< std::ostream *
CRYPTOPP_DEFINE_NAME_STRING(OutputBinaryMode) ///< bool
CRYPTOPP_DEFINE_NAME_STRING(EncodingParameters) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(KeyDerivationParameters) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(Separator) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(Terminator) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(Uppercase) ///< bool
CRYPTOPP_DEFINE_NAME_STRING(GroupSize) ///< int
CRYPTOPP_DEFINE_NAME_STRING(Pad) ///< bool
CRYPTOPP_DEFINE_NAME_STRING(PaddingByte) ///< byte
CRYPTOPP_DEFINE_NAME_STRING(Log2Base) ///< int
CRYPTOPP_DEFINE_NAME_STRING(EncodingLookupArray) ///< const byte *
CRYPTOPP_DEFINE_NAME_STRING(DecodingLookupArray) ///< const byte *
CRYPTOPP_DEFINE_NAME_STRING(InsertLineBreaks) ///< bool
CRYPTOPP_DEFINE_NAME_STRING(MaxLineLength) ///< int
CRYPTOPP_DEFINE_NAME_STRING(DigestSize) ///< int, in bytes
CRYPTOPP_DEFINE_NAME_STRING(L1KeyLength) ///< int, in bytes
CRYPTOPP_DEFINE_NAME_STRING(TableSize) ///< int, in bytes
CRYPTOPP_DEFINE_NAME_STRING(Blinding) ///< bool, timing attack mitigations, ON by default
CRYPTOPP_DEFINE_NAME_STRING(DerivedKey) ///< ByteArrayParameter, key derivation, derived key
CRYPTOPP_DEFINE_NAME_STRING(DerivedKeyLength) ///< int, key derivation, derived key length in bytes
CRYPTOPP_DEFINE_NAME_STRING(Personalization) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(PersonalizationSize) ///< int, in bytes
CRYPTOPP_DEFINE_NAME_STRING(Salt) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(Tweak) ///< ConstByteArrayParameter
CRYPTOPP_DEFINE_NAME_STRING(SaltSize) ///< int, in bytes
CRYPTOPP_DEFINE_NAME_STRING(TreeMode) ///< byte
CRYPTOPP_DEFINE_NAME_STRING(FileName) ///< const char *
CRYPTOPP_DEFINE_NAME_STRING(FileTime) ///< int
CRYPTOPP_DEFINE_NAME_STRING(Comment) ///< const char *
CRYPTOPP_DEFINE_NAME_STRING(Identity) ///< ConstByteArrayParameter
DOCUMENTED_NAMESPACE_END
NAMESPACE_END
#endif
cryptlib.h
Abstract base classes that provide a uniform interface to this library.
CryptoPP
Crypto++ library namespace.
Name
Namespace containing value name definitions.
Definition: argnames.h:13
Name::TruncatedDigestSize
const char * TruncatedDigestSize()
int
Definition: argnames.h:51
Name::Version
const char * Version()
int
Definition: argnames.h:18
Name::SubgroupGenerator
const char * SubgroupGenerator()
Integer, ECP::Point, or EC2N::Point.
Definition: argnames.h:39
Name::L1KeyLength
const char * L1KeyLength()
int, in bytes
Definition: argnames.h:80
Name::PrivateExponent
const char * PrivateExponent()
Integer.
Definition: argnames.h:35
Name::SaltSize
const char * SaltSize()
int, in bytes
Definition: argnames.h:89
Name::AuthenticatedDecryptionFilterFlags
const char * AuthenticatedDecryptionFilterFlags()
word32
Definition: argnames.h:54
Name::PointerToPrimeSelector
const char * PointerToPrimeSelector()
const PrimeSelector *
Definition: argnames.h:42
Name::PaddingByte
const char * PaddingByte()
byte
Definition: argnames.h:73
Name::ValueNames
const char * ValueNames()
string, a list of value names with a semicolon (';') after each name
Definition: argnames.h:17
Name::ModPrime1PrivateExponent
const char * ModPrime1PrivateExponent()
Integer.
Definition: argnames.h:45
Name::InputBinaryMode
const char * InputBinaryMode()
bool
Definition: argnames.h:61
Name::BlockPaddingScheme
const char * BlockPaddingScheme()
StreamTransformationFilter::BlockPaddingScheme.
Definition: argnames.h:52
Name::FileTime
const char * FileTime()
int
Definition: argnames.h:92
Name::OutputBuffer
const char * OutputBuffer()
ByteArrayParameter.
Definition: argnames.h:57
Name::EncodingLookupArray
const char * EncodingLookupArray()
const byte *
Definition: argnames.h:75
Name::FeedbackSize
const char * FeedbackSize()
int
Definition: argnames.h:25
Name::HashVerificationFilterFlags
const char * HashVerificationFilterFlags()
word32
Definition: argnames.h:53
Name::SubgroupOrderSize
const char * SubgroupOrderSize()
int, in bits
Definition: argnames.h:31
Name::Prime1
const char * Prime1()
Integer.
Definition: argnames.h:43
Name::DerivedKeyLength
const char * DerivedKeyLength()
int, key derivation, derived key length in bytes
Definition: argnames.h:84
Name::OutputBinaryMode
const char * OutputBinaryMode()
bool
Definition: argnames.h:65
Name::KeySize
const char * KeySize()
int, in bits
Definition: argnames.h:29
Name::Modulus
const char * Modulus()
Integer.
Definition: argnames.h:33
Name::GroupSize
const char * GroupSize()
int
Definition: argnames.h:71
Name::TreeMode
const char * TreeMode()
byte
Definition: argnames.h:90
Name::Key
const char * Key()
ConstByteArrayParameter.
Definition: argnames.h:20
Name::InputStreamPointer
const char * InputStreamPointer()
std::istream *
Definition: argnames.h:60
Name::Terminator
const char * Terminator()
ConstByteArrayParameter.
Definition: argnames.h:69
Name::Identity
const char * Identity()
ConstByteArrayParameter.
Definition: argnames.h:94
Name::SubgroupOrder
const char * SubgroupOrder()
Integer.
Definition: argnames.h:37
Name::DerivedKey
const char * DerivedKey()
ByteArrayParameter, key derivation, derived key.
Definition: argnames.h:83
Name::Blinding
const char * Blinding()
bool, timing attack mitigations, ON by default
Definition: argnames.h:82
Name::Personalization
const char * Personalization()
ConstByteArrayParameter.
Definition: argnames.h:85
Name::FileName
const char * FileName()
const char *
Definition: argnames.h:91
Name::EffectiveKeyLength
const char * EffectiveKeyLength()
int, in bits
Definition: argnames.h:28
Name::TableSize
const char * TableSize()
int, in bytes
Definition: argnames.h:81
Name::QuadraticResidueModPrime1
const char * QuadraticResidueModPrime1()
Integer.
Definition: argnames.h:48
Name::InsertLineBreaks
const char * InsertLineBreaks()
bool
Definition: argnames.h:77
Name::MultiplicativeInverseOfPrime2ModPrime1
const char * MultiplicativeInverseOfPrime2ModPrime1()
Integer.
Definition: argnames.h:47
Name::KeyDerivationParameters
const char * KeyDerivationParameters()
ConstByteArrayParameter.
Definition: argnames.h:67
Name::Salt
const char * Salt()
ConstByteArrayParameter.
Definition: argnames.h:87
Name::IV
const char * IV()
ConstByteArrayParameter, also accepts const byte * for backwards compatibility.
Definition: argnames.h:21
Name::Curve
const char * Curve()
ECP or EC2N.
Definition: argnames.h:40
Name::WordSize
const char * WordSize()
int, in bytes
Definition: argnames.h:26
Name::PrivateExponentSize
const char * PrivateExponentSize()
int, in bits
Definition: argnames.h:32
Name::StolenIV
const char * StolenIV()
byte *
Definition: argnames.h:22
Name::Tweak
const char * Tweak()
ConstByteArrayParameter.
Definition: argnames.h:88
Name::BlockSize
const char * BlockSize()
int, in bytes
Definition: argnames.h:27
Name::Comment
const char * Comment()
const char *
Definition: argnames.h:93
Name::PublicElement
const char * PublicElement()
Integer.
Definition: argnames.h:36
Name::Nonce
const char * Nonce()
ConstByteArrayParameter.
Definition: argnames.h:23
Name::OutputFileName
const char * OutputFileName()
const char *
Definition: argnames.h:62
Name::Pad
const char * Pad()
bool
Definition: argnames.h:72
Name::EncodingParameters
const char * EncodingParameters()
ConstByteArrayParameter.
Definition: argnames.h:66
Name::DecodingLookupArray
const char * DecodingLookupArray()
const byte *
Definition: argnames.h:76
Name::InputFileNameWide
const char * InputFileNameWide()
const wchar_t *
Definition: argnames.h:59
Name::PutMessage
const char * PutMessage()
bool
Definition: argnames.h:50
Name::InputBuffer
const char * InputBuffer()
ConstByteArrayParameter.
Definition: argnames.h:56
Name::OutputFileNameWide
const char * OutputFileNameWide()
const wchar_t *
Definition: argnames.h:63
Name::OutputStreamPointer
const char * OutputStreamPointer()
std::ostream *
Definition: argnames.h:64
Name::PublicExponent
const char * PublicExponent()
Integer.
Definition: argnames.h:34
Name::SignatureVerificationFilterFlags
const char * SignatureVerificationFilterFlags()
word32
Definition: argnames.h:55
Name::GroupOID
const char * GroupOID()
OID.
Definition: argnames.h:41
Name::ModulusSize
const char * ModulusSize()
int, in bits
Definition: argnames.h:30
Name::ModPrime2PrivateExponent
const char * ModPrime2PrivateExponent()
Integer.
Definition: argnames.h:46
Name::InputFileName
const char * InputFileName()
const char *
Definition: argnames.h:58
Name::DigestSize
const char * DigestSize()
int, in bytes
Definition: argnames.h:79
Name::PersonalizationSize
const char * PersonalizationSize()
int, in bytes
Definition: argnames.h:86
Name::Cofactor
const char * Cofactor()
Integer.
Definition: argnames.h:38
Name::Separator
const char * Separator()
ConstByteArrayParameter.
Definition: argnames.h:68
Name::Log2Base
const char * Log2Base()
int
Definition: argnames.h:74
Name::Rounds
const char * Rounds()
int
Definition: argnames.h:24
Name::QuadraticResidueModPrime2
const char * QuadraticResidueModPrime2()
Integer.
Definition: argnames.h:49
Name::Seed
const char * Seed()
ConstByteArrayParameter.
Definition: argnames.h:19
Name::MaxLineLength
const char * MaxLineLength()
int
Definition: argnames.h:78
Name::Prime2
const char * Prime2()
Integer.
Definition: argnames.h:44
Name::Uppercase
const char * Uppercase()
bool
Definition: argnames.h:70