Searched refs:achKeyData (Results 1 – 4 of 4) sorted by relevance
/dports/net-p2p/amule/aMule-2.3.3/src/ |
H A D | EncryptedStreamSocket.cpp | 158 uint8 achKeyData[21]; in SetConnectionEncryption() local 159 md4cpy(achKeyData, pTargetClientHash); in SetConnectionEncryption() 162 achKeyData[16] = MAGICVALUE_REQUESTER; in SetConnectionEncryption() 163 MD5Sum md5(achKeyData, sizeof(achKeyData)); in SetConnectionEncryption() 166 achKeyData[16] = MAGICVALUE_SERVER; in SetConnectionEncryption() 167 md5.Calculate(achKeyData, sizeof(achKeyData)); in SetConnectionEncryption() 474 uint8_t achKeyData[21]; in Negotiate() local 478 achKeyData[16] = MAGICVALUE_REQUESTER; in Negotiate() 482 MD5Sum md5(achKeyData, sizeof(achKeyData)); in Negotiate() 486 achKeyData[16] = MAGICVALUE_SERVER; in Negotiate() [all …]
|
H A D | EncryptedDatagramSocket.cpp | 391 uint8_t achKeyData[7]; in DecryptReceivedServer() local 392 PokeUInt32(achKeyData, dwBaseKey); in DecryptReceivedServer() 393 achKeyData[4] = MAGICVALUE_UDP_SERVERCLIENT; in DecryptReceivedServer() 394 memcpy(achKeyData + 5, pbyBufIn + 1, 2); // random key part sent from remote server in DecryptReceivedServer() 397 MD5Sum md5(achKeyData, sizeof(achKeyData)); in DecryptReceivedServer() 439 uint8_t achKeyData[7]; in EncryptSendServer() local 440 PokeUInt32(achKeyData, dwBaseKey); in EncryptSendServer() 441 achKeyData[4] = MAGICVALUE_UDP_CLIENTSERVER; in EncryptSendServer() 442 PokeUInt16(achKeyData + 5, nRandomKeyPart); in EncryptSendServer() 443 MD5Sum md5(achKeyData, sizeof(achKeyData)); in EncryptSendServer()
|
/dports/net-p2p/amule-devel/aMule-SVN-r11065/src/ |
H A D | EncryptedStreamSocket.cpp | 158 uint8 achKeyData[21]; in SetConnectionEncryption() local 159 md4cpy(achKeyData, pTargetClientHash); in SetConnectionEncryption() 162 achKeyData[16] = MAGICVALUE_REQUESTER; in SetConnectionEncryption() 163 MD5Sum md5(achKeyData, sizeof(achKeyData)); in SetConnectionEncryption() 166 achKeyData[16] = MAGICVALUE_SERVER; in SetConnectionEncryption() 167 md5.Calculate(achKeyData, sizeof(achKeyData)); in SetConnectionEncryption() 474 uint8_t achKeyData[21]; in Negotiate() local 478 achKeyData[16] = MAGICVALUE_REQUESTER; in Negotiate() 482 MD5Sum md5(achKeyData, sizeof(achKeyData)); in Negotiate() 486 achKeyData[16] = MAGICVALUE_SERVER; in Negotiate() [all …]
|
H A D | EncryptedDatagramSocket.cpp | 391 uint8_t achKeyData[7]; in DecryptReceivedServer() local 392 PokeUInt32(achKeyData, dwBaseKey); in DecryptReceivedServer() 393 achKeyData[4] = MAGICVALUE_UDP_SERVERCLIENT; in DecryptReceivedServer() 394 memcpy(achKeyData + 5, pbyBufIn + 1, 2); // random key part sent from remote server in DecryptReceivedServer() 397 MD5Sum md5(achKeyData, sizeof(achKeyData)); in DecryptReceivedServer() 439 uint8_t achKeyData[7]; in EncryptSendServer() local 440 PokeUInt32(achKeyData, dwBaseKey); in EncryptSendServer() 441 achKeyData[4] = MAGICVALUE_UDP_CLIENTSERVER; in EncryptSendServer() 442 PokeUInt16(achKeyData + 5, nRandomKeyPart); in EncryptSendServer() 443 MD5Sum md5(achKeyData, sizeof(achKeyData)); in EncryptSendServer()
|