
Go to the source code of this file.
Data Structures | |
| struct | MD5_CTX |
Functions | |
| static void | MD5Final (char digest[16], MD5_CTX *context) |
| Small wrapper around MD5Final. | |
| void | MD5Init (MD5_CTX *) |
| MD5 initialization. Begins an MD5 operation, writing a new context. | |
| static void | MD5Update (MD5_CTX *context, char *input, unsigned int inputLen) |
| Small wrapper around MD5Update. | |
| void | U_MD5Final (unsigned char[16], MD5_CTX *) |
| MD5 finalization. | |
| void | U_MD5Update (MD5_CTX *, unsigned char *, unsigned int) |
| MD5 block update operation. | |
Definition in file md5.h.
| static void MD5Final | ( | char | digest[16], | |
| MD5_CTX * | context | |||
| ) | [inline, static] |
Small wrapper around MD5Final.
Small wrapper around MD5Final, because everybody uses this on 'str' types
| digest | message digest | |
| context | MD5 context |
Definition at line 74 of file md5.h.
References U_MD5Final().
Referenced by calc_HA1(), calc_response(), hash(), uac_calc_HA1(), uac_calc_HA2(), and uac_calc_response().
| void MD5Init | ( | MD5_CTX * | context | ) |
MD5 initialization. Begins an MD5 operation, writing a new context.
| context | MD5 context |
Definition at line 110 of file md5.c.
References MD5_CTX::count, and MD5_CTX::state.
Referenced by calc_HA1(), calc_nonce(), calc_response(), compute_md5(), hash(), MD5File(), MD5StringArray(), uac_calc_HA1(), uac_calc_HA2(), and uac_calc_response().
| static void MD5Update | ( | MD5_CTX * | context, | |
| char * | input, | |||
| unsigned int | inputLen | |||
| ) | [inline, static] |
Small wrapper around MD5Update.
Small wrapper around MD5Update, because everybody uses this on 'str' types
| context | MD5 context | |
| input | input block | |
| inputLen | length of input block |
Definition at line 59 of file md5.h.
References U_MD5Update().
Referenced by calc_HA1(), calc_nonce(), calc_response(), compute_md5(), hash(), MD5StringArray(), uac_calc_HA1(), uac_calc_HA2(), and uac_calc_response().
| void U_MD5Final | ( | unsigned char | digest[16], | |
| MD5_CTX * | context | |||
| ) |
MD5 finalization.
MD5 finalization. Ends an MD5 message-digest operation, writing the the message digest and zeroizing the context.
| digest | message digest | |
| context | MD5 context |
Definition at line 171 of file md5.c.
References MD5_CTX::count, Encode(), PADDING, MD5_CTX::state, and U_MD5Update().
Referenced by calc_nonce(), compute_md5(), MD5File(), MD5Final(), and MD5StringArray().
| void U_MD5Update | ( | MD5_CTX * | context, | |
| unsigned char * | input, | |||
| unsigned int | inputLen | |||
| ) |
MD5 block update operation.
MD5 block update operation. Continues an MD5 message-digest operation, processing another message block, and updating the context.
| context | MD5 context | |
| input | input block | |
| inputLen | length of input block |
Definition at line 131 of file md5.c.
References MD5_CTX::buffer, MD5_CTX::count, MD5Transform(), and MD5_CTX::state.
Referenced by MD5File(), MD5Update(), and U_MD5Final().
1.5.6