Searched refs:InvalidArgument (Results 1 - 25 of 36) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dauthenc.cpp108 throw InvalidArgument(AlgorithmName() + ": message length exceeds maximum");
139 throw InvalidArgument(AlgorithmName() + ": header length of " + IntToString(m_totalHeaderLength) + " exceeds the maximum of " + IntToString(MaxHeaderLength()));
144 throw InvalidArgument(AlgorithmName() + ": additional authenticated data (AAD) cannot be input after data to be encrypted or decrypted");
146 throw InvalidArgument(AlgorithmName() + ": footer length of " + IntToString(m_totalFooterLength) + " exceeds the maximum of " + IntToString(MaxFooterLength()));
H A Dccm.cpp18 throw InvalidArgument(AlgorithmName() + ": block size of underlying block cipher is not 16");
22 throw InvalidArgument(AlgorithmName() + ": DigestSize must be 4, 6, 8, 10, 12, 14, or 16");
106 throw InvalidArgument(AlgorithmName() + ": header length doesn't match that given in SpecifyDataLengths");
122 throw InvalidArgument(AlgorithmName() + ": message length doesn't match that given in SpecifyDataLengths");
H A Dhmac.cpp21 throw InvalidArgument("HMAC: can only be used with a block-based hash function");
H A Dsimple.h32 class CRYPTOPP_DLL InvalidKeyLength : public InvalidArgument
35 explicit InvalidKeyLength(const std::string &algorithm, size_t length) : InvalidArgument(algorithm + ": " + IntToString(length) + " is not a valid key length") {}
39 class CRYPTOPP_DLL InvalidRounds : public InvalidArgument
42 explicit InvalidRounds(const std::string &algorithm, unsigned int rounds) : InvalidArgument(algorithm + ": " + IntToString(rounds) + " is not a valid number of rounds") {}
H A Design.cpp81 throw InvalidArgument("InvertibleESIGNFunction: specified modulus size is too small");
84 throw InvalidArgument("InvertibleESIGNFunction: modulus size must be divisible by 3");
89 throw InvalidArgument("InvertibleESIGNFunction: public exponents less than 8 may not be secure");
H A Dpubkey.cpp58 throw InvalidArgument("TF_SignerBase: the recoverable message part is too long for the given key and algorithm");
150 throw InvalidArgument(AlgorithmName() + ": this key is too short to encrypt any messages");
152 throw InvalidArgument(AlgorithmName() + ": message length of " + IntToString(plaintextLength) + " exceeds the maximum of " + IntToString(FixedMaxPlaintextLength()) + " for this public key");
H A Dcryptlib.cpp78 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object requires an IV");
84 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": this object cannot use a null IV");
92 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": IV length " + IntToString(size) + " is less than the minimum of " + IntToString(MinIVLength()));
94 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": IV length " + IntToString(size) + " exceeds the maximum of " + IntToString(MaxIVLength()));
200 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": header length " + IntToString(headerLength) + " exceeds the maximum of " + IntToString(MaxHeaderLength()));
203 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": message length " + IntToString(messageLength) + " exceeds the maximum of " + IntToString(MaxMessageLength()));
206 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": footer length " + IntToString(footerLength) + " exceeds the maximum of " + IntToString(MaxFooterLength()));
305 throw InvalidArgument("HashTransformation: can't truncate a " + IntToString(DigestSize()) + " byte digest to " + IntToString(size) + " bytes");
675 throw InvalidArgument("PK_DefaultEncryptionFilter: plaintext too long");
720 throw InvalidArgument("PK_DefaultDecryptionFilte
[all...]
H A Dcmac.cpp38 throw InvalidArgument("CMAC: " + IntToString(length) + " is not a supported cipher block size");
H A Drsa.cpp110 throw InvalidArgument("InvertibleRSAFunction: specified modulus size is too small");
115 throw InvalidArgument("InvertibleRSAFunction: invalid public exponent");
151 throw InvalidArgument("InvertibleRSAFunction: input is not a valid RSA private key");
186 throw InvalidArgument("InvertibleRSAFunction: input is not a valid RSA private key");
H A Dcryptlib.h145 class CRYPTOPP_DLL InvalidArgument : public Exception class in inherits:Exception
148 explicit InvalidArgument(const std::string &s) : Exception(INVALID_ARGUMENT, s) {} function in class:InvalidArgument
231 class CRYPTOPP_DLL ValueTypeMismatch : public InvalidArgument
235 : InvalidArgument("NameValuePairs: type mismatch for '" + name + "', stored '" + stored.name() + "', trying to retrieve '" + retrieving.name() + "'")
297 throw InvalidArgument(std::string(className) + ": missing required parameter '" + name + "'");
303 throw InvalidArgument(std::string(className) + ": missing required parameter '" + name + "'");
983 struct InvalidChannelName : public InvalidArgument
984 {InvalidChannelName(const std::string &name, const std::string &channel) : InvalidArgument(name + ": unexpected channel name \"" + channel + "\"") {}};
1639 class CRYPTOPP_DLL BERDecodeErr : public InvalidArgument
1642 BERDecodeErr() : InvalidArgument("BE
[all...]
H A Dbasecode.cpp19 throw InvalidArgument("BaseN_Encoder: Log2Base must be between 1 and 7 inclusive");
112 throw InvalidArgument("BaseN_Decoder: Log2Base must be between 1 and 7 inclusive");
H A Dluc.cpp113 throw InvalidArgument("InvertibleLUCFunction: specified modulus size is too small");
118 throw InvalidArgument("InvertibleLUCFunction: invalid public exponent");
H A Dalgparam.h200 throw InvalidArgument(std::string(typeid(T).name()) + ": Missing required parameter '" + name + "'");
213 throw InvalidArgument(std::string(typeid(T).name()) + ": Missing required parameter '" + name1 + "'");
216 throw InvalidArgument(std::string(typeid(T).name()) + ": Missing required parameter '" + name2 + "'");
H A Ddlltest.cpp166 catch (InvalidArgument &e)
H A Drc2.cpp16 throw InvalidArgument("RC2: effective key length parameter exceeds maximum");
H A Dmodes.cpp66 throw InvalidArgument("CFB_Mode: invalid feedback size");
171 throw InvalidArgument("CBC_Encryption: message is too short for ciphertext stealing");
H A Dfilters.cpp302 throw InvalidArgument("FilterWithBufferedInput: invalid buffer size");
311 throw InvalidArgument("FilterWithBufferedInput: invalid buffer size");
528 throw InvalidArgument("ArraySink: missing OutputBuffer argument");
550 throw InvalidArgument("StreamTransformationFilter: please use AuthenticatedEncryptionFilter and AuthenticatedDecryptionFilter for AuthenticatedSymmetricCipher");
576 throw InvalidArgument("StreamTransformationFilter: PKCS_PADDING and ONE_AND_ZEROS_PADDING cannot be used with " + m_cipher.AlgorithmName());
1050 throw InvalidArgument("StringStore: missing InputBuffer argument");
H A Dida.cpp24 throw InvalidArgument("RawIDA: missing RecoveryThreshold argument");
27 throw InvalidArgument("RawIDA: RecoveryThreshold must be greater than 0");
H A Dfiles.cpp150 throw InvalidArgument("FileStore: maximum seek offset exceeded");
H A Drabin.cpp81 throw InvalidArgument("InvertibleRabinFunction: specified modulus size is too small");
H A Drw.cpp94 throw InvalidArgument("InvertibleRWFunction: specified modulus length is too small");
H A Ddefault.cpp25 throw InvalidArgument("Mash: output legnth too large");
H A Dgfpcrypt.cpp40 throw InvalidArgument("DSA: not a valid prime length");
H A Dxtr.h51 throw InvalidArgument("GFP2_ONB: modulus must be equivalent to 2 mod 3");
H A Dmisc.h157 throw InvalidArgument("memcpy_s: buffer overflow");
164 throw InvalidArgument("memmove_s: buffer overflow");
329 throw InvalidArgument("RoundUpToMultipleOf: integer overflow");

Completed in 130 milliseconds

12