Pol  Rev 533
CCryptBase Class Reference

#include <cryptbase.h>

+ Inheritance diagram for CCryptBase:

List of all members.

Public Types

enum  e_crypttype { typeLogin, typeGame, typeAuto }

Public Member Functions

 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

Detailed Description

Definition at line 71 of file cryptbase.h.


Member Enumeration Documentation

Enumerator:
typeLogin 
typeGame 
typeAuto 

Definition at line 78 of file cryptbase.h.


Constructor & Destructor Documentation

Definition at line 58 of file cryptbase.cpp.

CCryptBase::~CCryptBase ( ) [virtual]

Definition at line 61 of file cryptbase.cpp.


Member Function Documentation

virtual void CCryptBase::Encrypt ( void *  pvIn,
void *  pvOut,
int  len 
) [inline, virtual]

Reimplemented in CCryptTwofish.

Definition at line 84 of file cryptbase.h.

Referenced by Client::xmit().

+ Here is the caller graph for this function:

virtual void CCryptBase::Init ( void *  pvSeed,
int  type = typeAuto 
) [pure virtual]

Implemented in CCryptTwofish, CCryptBlowfishTwofish, CCryptBlowfish, and CCryptNoCrypt.

Referenced by process_data(), and select_server().

+ Here is the caller graph for this function:

virtual int CCryptBase::Receive ( void *  buffer,
int  max_expected,
SOCKET  socket 
) [pure virtual]

Implemented in CCryptTwofish, CCryptBlowfishTwofish, CCryptBlowfish, and CCryptNoCrypt.

Referenced by Client::recv_remaining().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following files: