Go to the source code of this file.
Functions | |
| static void | Encode (unsigned char *output, UNSIGNED32 *input, unsigned int len) |
| static void | Decode (UNSIGNED32 *output, unsigned char const *input, unsigned int len) |
| static void | MD5Transform (UNSIGNED32 state[4], const unsigned char block[64]) |
| void | our_MD5Init (MD5_CTX *context) |
| our_MD5Init: : MD5 context to be initialized. | |
| void | ourMD5Update (MD5_CTX *context, const unsigned char *input, unsigned int inputLen) |
| ourMD5Update: : MD5 context to be updated. | |
| void | our_MD5Final (unsigned char digest[16], MD5_CTX *context) |
| our_MD5Final: : 16-byte buffer to write MD5 checksum. | |
Variables | |
| static unsigned char | PADDING [64] |
| static void Encode | ( | unsigned char * | output, | |
| UNSIGNED32 * | input, | |||
| unsigned int | len | |||
| ) | [static] |
| static void Decode | ( | UNSIGNED32 * | output, | |
| unsigned char const * | input, | |||
| unsigned int | len | |||
| ) | [static] |
Definition at line 120 of file our_md5.c.
Referenced by MD5Transform().
| static void MD5Transform | ( | UNSIGNED32 | state[4], | |
| const unsigned char | block[64] | |||
| ) | [static] |
Definition at line 133 of file our_md5.c.
Referenced by ourMD5Update().
| void our_MD5Init | ( | MD5_CTX * | context | ) |
our_MD5Init: : MD5 context to be initialized.
Initializes MD5 context for the start of message digest computation.
Definition at line 229 of file our_md5.c.
Referenced by our_MD5Data(), and our_MD5File().
| void ourMD5Update | ( | MD5_CTX * | context, | |
| const unsigned char * | input, | |||
| unsigned int | inputLen | |||
| ) |
ourMD5Update: : MD5 context to be updated.
: pointer to data to be fed into MD5 algorithm. : size of data in bytes.
MD5 block update operation. Continues an MD5 message-digest operation, processing another message block, and updating the context.
Definition at line 250 of file our_md5.c.
Referenced by our_MD5Data(), our_MD5File(), and our_MD5Final().
| void our_MD5Final | ( | unsigned char | digest[16], | |
| MD5_CTX * | context | |||
| ) |
our_MD5Final: : 16-byte buffer to write MD5 checksum.
: MD5 context to be finalized.
Ends an MD5 message-digest operation, writing the the message digest and zeroing the context. The context must be initialized with our_MD5Init() before being used for other MD5 checksum calculations.
Definition at line 294 of file our_md5.c.
Referenced by our_MD5End().
unsigned char PADDING[64] [static] |
{
0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}
Definition at line 50 of file our_md5.c.
Referenced by QMD5::finalize(), and our_MD5Final().
1.6.3