Searched refs:headerLength (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dccm.cpp51 void CCM_Base::UncheckedSpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength) argument
56 m_aadLength = headerLength;
62 cbcBuffer[0] = byte(64*(headerLength>0) + 8*((m_digestSize-2)/2) + (m_L-1)); // flag
67 if (headerLength>0)
71 if (headerLength < ((1<<16) - (1<<8)))
73 PutWord<word16>(true, BIG_ENDIAN_ORDER, m_buffer, (word16)headerLength);
76 else if (headerLength < (W64LIT(1)<<32))
80 PutWord<word32>(false, BIG_ENDIAN_ORDER, m_buffer+2, (word32)headerLength);
87 PutWord<word64>(false, BIG_ENDIAN_ORDER, m_buffer+2, headerLength);
H A Dcryptlib.cpp197 void AuthenticatedSymmetricCipher::SpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength) argument
199 if (headerLength > MaxHeaderLength())
200 throw InvalidArgument(GetAlgorithm().AlgorithmName() + ": header length " + IntToString(headerLength) + " exceeds the maximum of " + IntToString(MaxHeaderLength()));
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);
215 Update(header, headerLength);
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);
224 Update(header, headerLength);
[all...]
H A Dccm.h47 void UncheckedSpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength);
H A Dcryptlib.h659 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);
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);
670 virtual void UncheckedSpecifyDataLengths(lword headerLength, lword messageLength, lword footerLength) {} argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/usbvision/
H A Dusbvision.h289 unsigned char headerLength; /* 2 */ member in struct:usbvision_frame_header
H A Dusbvision-core.c343 && (header->headerLength == USBVISION_HEADER_LENGTH)) {
532 frame->isocHeader.headerLength,

Completed in 78 milliseconds