Searched refs:ivLength (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dstrciphr.cpp22 size_t ivLength; local
23 const byte *iv = this->GetIVAndThrowIfInvalid(params, ivLength);
24 policy.CipherResynchronize(m_buffer, iv, ivLength);
160 size_t ivLength; local
161 const byte *iv = this->GetIVAndThrowIfInvalid(params, ivLength);
162 policy.CipherResynchronize(iv, ivLength);
H A Dmodes.cpp141 size_t ivLength; local
142 const byte *iv = GetIVAndThrowIfInvalid(params, ivLength);
143 Resynchronize(iv, (int)ivLength);
H A Dcryptlib.cpp64 void SimpleKeyingInterface::SetKeyWithIV(const byte *key, size_t length, const byte *iv, size_t ivLength) argument
66 SetKey(key, length, MakeParameters(Name::IV(), ConstByteArrayParameter(iv, ivLength)));
211 void AuthenticatedSymmetricCipher::EncryptAndAuthenticate(byte *ciphertext, byte *mac, size_t macSize, const byte *iv, int ivLength, const byte *header, size_t headerLength, const byte *message, size_t messageLength) argument
213 Resynchronize(iv, ivLength);
220 bool AuthenticatedSymmetricCipher::DecryptAndVerify(byte *message, const byte *mac, size_t macLength, const byte *iv, int ivLength, const byte *header, size_t headerLength, const byte *ciphertext, size_t ciphertextLength) argument
222 Resynchronize(iv, ivLength);
H A Dcryptlib.h381 void SetKeyWithIV(const byte *key, size_t length, const byte *iv, size_t ivLength);
408 //! resynchronize with an IV. ivLength=-1 means use IVSize()
409 virtual void Resynchronize(const byte *iv, int ivLength=-1) {throw NotImplemented(GetAlgorithm().AlgorithmName() + ": this object doesn't support resynchronization");} argument
661 virtual void EncryptAndAuthenticate(byte *ciphertext, byte *mac, size_t macSize, const byte *iv, int ivLength, const byte *header, size_t headerLength, const byte *message, size_t messageLength);
663 virtual bool DecryptAndVerify(byte *message, const byte *mac, size_t macLength, const byte *iv, int ivLength, const byte *header, size_t headerLength, const byte *ciphertext, size_t ciphertextLength);

Completed in 117 milliseconds