Pol  Rev 533
LoginCrypt Class Reference

#include <logincrypt.h>

List of all members.

Public Member Functions

 LoginCrypt ()
 ~LoginCrypt ()
void Decrypt (unsigned char *in, unsigned char *out, int len)
void Decrypt_1_25_36 (unsigned char *in, unsigned char *out, int len)
void Decrypt_Old (unsigned char *in, unsigned char *out, int len)
void Init (unsigned char *lseed, unsigned int k1, unsigned int k2)

Public Attributes

unsigned int lkey [2]

Protected Attributes

unsigned int m_k1
unsigned int m_k2

Detailed Description

Definition at line 10 of file logincrypt.h.


Constructor & Destructor Documentation

Definition at line 11 of file logincrypt.cpp.

Definition at line 14 of file logincrypt.cpp.


Member Function Documentation

void LoginCrypt::Decrypt ( unsigned char *  in,
unsigned char *  out,
int  len 
)

Definition at line 31 of file logincrypt.cpp.

References lkey, m_k1, and m_k2.

Referenced by CCryptBlowfish::Decrypt(), CCryptBlowfishTwofish::Decrypt(), and CCryptTwofish::Decrypt().

+ Here is the caller graph for this function:

void LoginCrypt::Decrypt_1_25_36 ( unsigned char *  in,
unsigned char *  out,
int  len 
)

Definition at line 61 of file logincrypt.cpp.

References lkey, m_k1, and m_k2.

Referenced by CCrypt12536::Decrypt().

+ Here is the caller graph for this function:

void LoginCrypt::Decrypt_Old ( unsigned char *  in,
unsigned char *  out,
int  len 
)

Definition at line 46 of file logincrypt.cpp.

References lkey, m_k1, and m_k2.

Referenced by CCryptBlowfishOld::Decrypt().

+ Here is the caller graph for this function:

void LoginCrypt::Init ( unsigned char *  lseed,
unsigned int  k1,
unsigned int  k2 
)

Definition at line 19 of file logincrypt.cpp.

References lkey, m_k1, m_k2, N2L, and seed.

Referenced by CCryptBlowfish::Init(), CCryptBlowfishTwofish::Init(), and CCryptTwofish::Init().

+ Here is the caller graph for this function:


Member Data Documentation

unsigned int LoginCrypt::m_k1 [protected]

Definition at line 29 of file logincrypt.h.

Referenced by Decrypt(), Decrypt_1_25_36(), Decrypt_Old(), and Init().

unsigned int LoginCrypt::m_k2 [protected]

Definition at line 29 of file logincrypt.h.

Referenced by Decrypt(), Decrypt_1_25_36(), Decrypt_Old(), and Init().


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