Pol
Revision:cb584c9
|
#include <cryptbase.h>
Public Member Functions | |
CCryptBaseCrypt () | |
virtual | ~CCryptBaseCrypt () |
virtual void | SetMasterKeys (unsigned int masterKey1, unsigned int masterKey2)=0 |
Public Member Functions inherited from Pol::Crypt::CCryptBase | |
CCryptBase () | |
virtual | ~CCryptBase () |
virtual void | Encrypt (void *pvIn, void *pvOut, int len) |
virtual void | Init (void *pvSeed, int type=typeAuto)=0 |
virtual int | Receive (void *buffer, int max_expected, SOCKET socket)=0 |
Public Attributes | |
LoginCrypt | lcrypt |
Protected Member Functions | |
virtual void | Decrypt (void *pvIn, void *pvOut, int len)=0 |
Protected Attributes | |
unsigned char | encrypted_data [MAXBUFFER] |
unsigned int | m_masterKey [2] |
int | m_type |
Additional Inherited Members | |
Public Types inherited from Pol::Crypt::CCryptBase | |
enum | e_crypttype { typeLogin, typeGame, typeAuto } |
Definition at line 111 of file cryptbase.h.
Pol::Crypt::CCryptBaseCrypt::CCryptBaseCrypt | ( | ) |
Definition at line 78 of file cryptbase.cpp.
References encrypted_data, and m_masterKey.
|
virtual |
Definition at line 83 of file cryptbase.cpp.
|
protectedpure virtual |
|
pure virtual |
Implemented in Pol::Crypt::CCryptTwofish, Pol::Crypt::CCryptBlowfishTwofish, and Pol::Crypt::CCryptBlowfish.
|
protected |
Definition at line 124 of file cryptbase.h.
Referenced by CCryptBaseCrypt(), Pol::Crypt::CCryptBlowfish::Receive(), Pol::Crypt::CCryptBlowfishTwofish::Receive(), and Pol::Crypt::CCryptTwofish::Receive().
LoginCrypt Pol::Crypt::CCryptBaseCrypt::lcrypt |
Definition at line 118 of file cryptbase.h.
Referenced by Pol::Crypt::CCryptBlowfish::Decrypt(), Pol::Crypt::CCryptBlowfishOld::Decrypt(), Pol::Crypt::CCrypt12536::Decrypt(), Pol::Crypt::CCryptBlowfishTwofish::Decrypt(), Pol::Crypt::CCryptTwofish::Decrypt(), Pol::Crypt::CCryptBlowfish::Init(), Pol::Crypt::CCryptBlowfishTwofish::Init(), and Pol::Crypt::CCryptTwofish::Init().
|
protected |
Definition at line 123 of file cryptbase.h.
Referenced by CCryptBaseCrypt(), Pol::Crypt::CCryptBlowfish::Init(), Pol::Crypt::CCryptBlowfishTwofish::Init(), Pol::Crypt::CCryptTwofish::Init(), Pol::Crypt::CCryptBlowfish::SetMasterKeys(), Pol::Crypt::CCryptBlowfishTwofish::SetMasterKeys(), and Pol::Crypt::CCryptTwofish::SetMasterKeys().
|
protected |
Definition at line 122 of file cryptbase.h.
Referenced by Pol::Crypt::CCryptBlowfish::Decrypt(), Pol::Crypt::CCryptBlowfishOld::Decrypt(), Pol::Crypt::CCrypt12536::Decrypt(), Pol::Crypt::CCryptBlowfishTwofish::Decrypt(), Pol::Crypt::CCryptTwofish::Decrypt(), Pol::Crypt::CCryptBlowfish::Init(), Pol::Crypt::CCryptBlowfishTwofish::Init(), and Pol::Crypt::CCryptTwofish::Init().