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