Searched refs:ciphertextLength (Results 1 - 5 of 5) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/ |
H A D | cryptlib.cpp | 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 223 SpecifyDataLengths(headerLength, ciphertextLength); 225 ProcessString(message, ciphertext, ciphertextLength); 676 size_t ciphertextLength = m_encryptor.CiphertextLength(plaintextLength); local 680 m_ciphertext.resize(ciphertextLength); 718 size_t ciphertextLength; local 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); [all...] |
H A D | gfpcrypt.h | 428 size_t GetMaxSymmetricPlaintextLength(size_t ciphertextLength) const 429 {return (unsigned int)SaturatingSubtract(ciphertextLength, (unsigned int)MAC::DIGESTSIZE);} 459 DecodingResult SymmetricDecrypt(const byte *key, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters) const argument 461 size_t plaintextLength = GetMaxSymmetricPlaintextLength(ciphertextLength);
|
H A D | pubkey.h | 142 size_t MaxPlaintextLength(size_t ciphertextLength) const 143 {return ciphertextLength == FixedCiphertextLength() ? FixedMaxPlaintextLength() : 0;} 169 DecodingResult Decrypt(RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters = g_nullNameValuePairs) const; 940 virtual size_t GetMaxSymmetricPlaintextLength(size_t ciphertextLength) const =0; 942 virtual DecodingResult SymmetricDecrypt(const byte *key, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters) const =0; 1156 size_t MaxPlaintextLength(size_t ciphertextLength) const 1159 return ciphertextLength < minLen ? 0 : GetSymmetricEncryptionAlgorithm().GetMaxSymmetricPlaintextLength(ciphertextLength - minLen); 1184 DecodingResult Decrypt(RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters = g_nullNameValuePairs) const argument 1197 ciphertextLength [all...] |
H A D | pubkey.cpp | 135 DecodingResult TF_DecryptorBase::Decrypt(RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters) const argument
|
H A D | cryptlib.h | 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); 1211 /*! \note This function returns 0 if ciphertextLength is not valid (too long or too short). */ 1212 virtual size_t MaxPlaintextLength(size_t ciphertextLength) const =0; 1269 /*! \pre size of plaintext == MaxPlaintextLength(ciphertextLength) bytes. 1273 const byte *ciphertext, size_t ciphertextLength,
|
Completed in 62 milliseconds