|
Pol
Rev 533
|
#include <logincrypt.h>
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 |
Definition at line 10 of file logincrypt.h.
Definition at line 11 of file logincrypt.cpp.
Definition at line 14 of file logincrypt.cpp.
| 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:| unsigned int LoginCrypt::lkey[2] |
Definition at line 26 of file logincrypt.h.
Referenced by Decrypt(), CCryptBlowfish::Decrypt(), CCryptBlowfishOld::Decrypt(), CCrypt12536::Decrypt(), CCryptBlowfishTwofish::Decrypt(), CCryptTwofish::Decrypt(), Decrypt_1_25_36(), Decrypt_Old(), and Init().
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().