|
Pol
Rev 533
|
#include <md5.h>
Public Member Functions | |
| MD5Crypt () | |
| ~MD5Crypt () | |
| void | Encrypt (unsigned char *in, unsigned char *out, int len) |
| void | Init (unsigned char *Data, unsigned int Size) |
Protected Member Functions | |
| void | append (md5_state *pms, const unsigned char *data, int nbytes) |
| void | finish (md5_state *pms, unsigned char digest[16]) |
| void | process (md5_state *pms, const unsigned char *data) |
| void | start (md5_state *pms) |
Protected Attributes | |
| unsigned char | Digest [16] |
| unsigned int | TableIdx |
| void MD5Crypt::append | ( | md5_state * | pms, |
| const unsigned char * | data, | ||
| int | nbytes | ||
| ) | [protected] |
Definition at line 238 of file md5.cpp.
References tagmd5_state::buf, tagmd5_state::count, and process().
Referenced by finish(), and Init().
Here is the call graph for this function:
Here is the caller graph for this function:| void MD5Crypt::Encrypt | ( | unsigned char * | in, |
| unsigned char * | out, | ||
| int | len | ||
| ) |
Definition at line 96 of file md5.cpp.
References Digest, and TableIdx.
Referenced by CCryptTwofish::Encrypt().
Here is the caller graph for this function:| void MD5Crypt::finish | ( | md5_state * | pms, |
| unsigned char | digest[16] | ||
| ) | [protected] |
Definition at line 280 of file md5.cpp.
References tagmd5_state::abcd, append(), and tagmd5_state::count.
Referenced by Init().
Here is the call graph for this function:
Here is the caller graph for this function:| void MD5Crypt::Init | ( | unsigned char * | Data, |
| unsigned int | Size | ||
| ) |
| void MD5Crypt::process | ( | md5_state * | pms, |
| const unsigned char * | data | ||
| ) | [protected] |
Definition at line 104 of file md5.cpp.
References tagmd5_state::abcd, SET, T1, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T2, T20, T21, T22, T23, T24, T25, T26, T27, T28, T29, T3, T30, T31, T32, T33, T34, T35, T36, T37, T38, T39, T4, T40, T41, T42, T43, T44, T45, T46, T47, T48, T49, T5, T50, T51, T52, T53, T54, T55, T56, T57, T58, T59, T6, T60, T61, T62, T63, T64, T7, T8, T9, and X.
Referenced by append().
Here is the caller graph for this function:| void MD5Crypt::start | ( | md5_state * | pms | ) | [protected] |
Definition at line 229 of file md5.cpp.
References tagmd5_state::abcd, tagmd5_state::count, and T_MASK.
Referenced by Init().
Here is the caller graph for this function:unsigned char MD5Crypt::Digest[16] [protected] |
unsigned int MD5Crypt::TableIdx [protected] |