20 #ifndef MSEENCRYPTEDAUTHENTICATE_H
21 #define MSEENCRYPTEDAUTHENTICATE_H
23 #include <util/constants.h>
24 #include <util/sha1hash.h>
25 #include <peer/authenticate.h>
33 const Uint32 MAX_EA_BUF_SIZE = 622 + 512;
45 bt::TransportProtocol proto,
48 bt::PeerConnector::WPtr pcon);
49 ~EncryptedAuthenticate()
override;
52 void connected()
override;
53 void onReadyRead()
override;
57 void handleCryptoSelect();
75 Uint8 buf[MAX_EA_BUF_SIZE];
82 Uint32 end_of_crypto_handshake;