From e585187b248f48b3c6e9247b49fa07c6565d65e5 Mon Sep 17 00:00:00 2001 From: maximius Date: Sat, 17 Oct 2009 15:51:44 -0700 Subject: *Backed out changeset 3be01fb200a5 --HG-- branch : trunk --- src/shared/Auth/AuthCrypt.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/shared/Auth/AuthCrypt.h') diff --git a/src/shared/Auth/AuthCrypt.h b/src/shared/Auth/AuthCrypt.h index 7f885e563ab..226fde018ae 100644 --- a/src/shared/Auth/AuthCrypt.h +++ b/src/shared/Auth/AuthCrypt.h @@ -17,20 +17,27 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + #ifndef _AUTHCRYPT_H #define _AUTHCRYPT_H + #include #include "SARC4.h" + class BigNumber; + class AuthCrypt { public: AuthCrypt(); ~AuthCrypt(); + void Init(BigNumber *K); void DecryptRecv(uint8 *, size_t); void EncryptSend(uint8 *, size_t); + bool IsInitialized() { return _initialized; } + private: SARC4 _clientDecrypt; SARC4 _serverEncrypt; -- cgit v1.2.3