Lines Matching refs:nStartCryptFromByte
684 int CEncryptedStreamSocket::SendNegotiatingData(const void* lpBuf, uint32_t nBufLen, uint32_t nStartCryptFromByte, bool bDelaySend)
687 wxASSERT( nStartCryptFromByte <= nBufLen );
698 if (nStartCryptFromByte > 0) {
699 memcpy(pBuffer, lpBuf, nStartCryptFromByte);
702 if (nBufLen - nStartCryptFromByte > 0) {
703 //printf("Crypting negotiation data on %s starting on byte %i\n", (const char*) unicode2char(DbgGetIPString()), nStartCryptFromByte);
705 m_pfiSendBuffer.RC4Crypt((uint8*)lpBuf + nStartCryptFromByte, pBuffer + nStartCryptFromByte, nBufLen - nStartCryptFromByte);
719 nStartCryptFromByte = 0;
726 if (m_pfiSendBuffer.IsEmpty() || nStartCryptFromByte != 0) {