Searched refs:messageLength (Results 1 - 7 of 7) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/ |
H A D | ccm.cpp | 51 void CCM_Base::UncheckedSpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength) argument 57 m_messageLength = messageLength;
|
H A D | ccm.h | 47 void UncheckedSpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength);
|
H A D | cryptlib.cpp | 197 void AuthenticatedSymmetricCipher::SpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength) argument 202 if (messageLength > MaxMessageLength()) 203 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": message length " + IntToString(messageLength) + " exceeds the maximum of " + IntToString(MaxMessageLength())); 208 UncheckedSpecifyDataLengths(headerLength, messageLength, footerLength); 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 214 SpecifyDataLengths(headerLength, messageLength); 216 ProcessString(ciphertext, message, messageLength); 731 FILTER_OUTPUT(1, m_plaintext, m_result.messageLength, messageEnd);
|
H A D | cryptlib.h | 200 explicit DecodingResult() : isValidCoding(false), messageLength(0) {} 201 explicit DecodingResult(size_t len) : isValidCoding(true), messageLength(len) {} 203 bool operator==(const DecodingResult &rhs) const {return isValidCoding == rhs.isValidCoding && messageLength == rhs.messageLength;} 207 size_t messageLength; member in struct:DecodingResult 210 operator size_t() const {return isValidCoding ? messageLength : 0;} 659 void SpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength=0); 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); 670 virtual void UncheckedSpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength) {} argument 1592 virtual void ProcessIncomingMessage(const byte *message, unsigned int messageLength) [all...] |
H A D | pssr.cpp | 102 size_t &recoverableMessageLength = result.messageLength;
|
H A D | pubkey.cpp | 41 return result.isValidCoding && result.messageLength == 0;
|
H A D | validat2.cpp | 136 fail = !(result.isValidCoding && result.messageLength == messageLen && memcmp(recovered, message, messageLen) == 0); 333 fail = !result.isValidCoding || (result.messageLength!=8) || memcmp(out, encrypted, 50) || memcmp(plain, outPlain, 8);
|
Completed in 176 milliseconds