Searched refs:GetAlgorithm (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dcryptlib.cpp72 throw InvalidKeyLength(GetAlgorithm().AlgorithmName(), length);
78 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()));
H A Dcryptlib.h401 virtual unsigned int IVSize() const {throw NotImplemented(GetAlgorithm().AlgorithmName() + ": this object doesn't support resynchronization");}
409 virtual void Resynchronize(const byte *iv, int ivLength=-1) {throw NotImplemented(GetAlgorithm().AlgorithmName() + ": this object doesn't support resynchronization");}
417 virtual const Algorithm & GetAlgorithm() const =0;
618 const Algorithm & GetAlgorithm() const {return *this;} function in class:BlockCipher
625 const Algorithm & GetAlgorithm() const {return *this;} function in class:SymmetricCipher
632 const Algorithm & GetAlgorithm() const {return *this;} function in class:MessageAuthenticationCode
669 const Algorithm & GetAlgorithm() const {return *static_cast<const MessageAuthenticationCode *>(this);} function in class:AuthenticatedSymmetricCipher

Completed in 63 milliseconds