Data Structures | Functions

md5.h File Reference

SIP-router core :: md5 hash supportModule: SIP-router core. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

Functions


Detailed Description

Definition in file md5.h.


Function Documentation

static void MD5Final ( char  digest[16],
MD5_CTX context 
) [inline, static]

Small wrapper around MD5Final, because everybody uses this on 'str' types

Parameters:
digest message digest
context MD5 context
Note:
please not use this in new code
Todo:
review and fix all wrong usage

Definition at line 97 of file md5.h.

References U_MD5Final().

Referenced by hash().

Here is the call graph for this function:

Here is the caller graph for this function:

void MD5Init ( MD5_CTX context  ) 

MD5 context initialization. Begins an MD5 operation, writing a new context.

Parameters:
context initialized context

Definition at line 120 of file md5.c.

Referenced by compute_md5(), hash(), and MD5StringArray().

Here is the caller graph for this function:

static void MD5Update ( MD5_CTX context,
char *  input,
unsigned int  inputLen 
) [inline, static]

Small wrapper around MD5Update, because everybody uses this on 'str' types

Parameters:
context MD5 context
input input block
inputLen length of input block
Note:
please not use this in new code
Todo:
review and fix all wrong usage

Definition at line 83 of file md5.h.

References U_MD5Update().

Referenced by compute_md5(), hash(), and MD5StringArray().

Here is the call graph for this function:

Here is the caller graph for this function:

void U_MD5Final ( unsigned char  digest[16],
MD5_CTX context 
)

MD5 finalization. Ends an MD5 message-digest operation, writing the the message digest and zeroizing the context.

Parameters:
digest message digest
context context

Definition at line 186 of file md5.c.

References Encode(), and U_MD5Update().

Referenced by compute_md5(), MD5Final(), and MD5StringArray().

Here is the call graph for this function:

Here is the caller graph for this function:

void U_MD5Update ( MD5_CTX context,
unsigned char *  input,
unsigned int  inputLen 
)

MD5 block update operation. Continues an MD5 message-digest operation, processing another message block, and updating the context.

Parameters:
context context
input input block
inputLen length of input block

Definition at line 141 of file md5.c.

References MD5Transform().

Referenced by MD5Update(), and U_MD5Final().

Here is the call graph for this function:

Here is the caller graph for this function: