Lines Matching refs:ciphertextLength
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)
223 SpecifyDataLengths(headerLength, ciphertextLength);
225 ProcessString(message, ciphertext, ciphertextLength);
676 size_t ciphertextLength = m_encryptor.CiphertextLength(plaintextLength);
680 m_ciphertext.resize(ciphertextLength);
718 size_t ciphertextLength;
719 if (!SafeConvert(m_ciphertextQueue.CurrentSize(), ciphertextLength))
721 size_t maxPlaintextLength = m_decryptor.MaxPlaintextLength(ciphertextLength);
723 SecByteBlock ciphertext(ciphertextLength);
724 m_ciphertextQueue.Get(ciphertext, ciphertextLength);
726 m_result = m_decryptor.Decrypt(m_rng, ciphertext, ciphertextLength, m_plaintext, m_parameters);