Lines Matching refs:ciphertext
158 //! exception thrown by decryption filters when trying to decrypt an invalid ciphertext
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);
1203 for querying their plaintext and ciphertext lengths.
1210 //! maximum length of plaintext for a given ciphertext length
1214 //! calculate length of ciphertext given length of plaintext
1222 //! return fixed ciphertext length, if one exists, otherwise return 0
1223 /*! \note "Fixed" here means length of ciphertext does not depend on length of plaintext.
1227 //! return maximum plaintext length given the fixed ciphertext length, if one exists, otherwise return 0
1249 \pre size of ciphertext == CiphertextLength(plaintextLength)
1253 byte *ciphertext, const NameValuePairs ¶meters = g_nullNameValuePairs) const =0;
1273 const byte *ciphertext, size_t ciphertextLength,
1282 //! decrypt a fixed size ciphertext
1283 DecodingResult FixedLengthDecrypt(RandomNumberGenerator &rng, const byte *ciphertext, byte *plaintext, const NameValuePairs ¶meters = g_nullNameValuePairs) const
1284 {return Decrypt(rng, ciphertext, FixedCiphertextLength(), plaintext, parameters);}