Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

md5.h File Reference

Go to the source code of this file.

Data Structures

struct  md5_state_s

Defines

#define MD5_DIGEST_LEN   32
#define MD5_DIGEST_BUFSZ   (MD5_DIGEST_LEN+1)

Typedefs

typedef unsigned char md5_byte_t
typedef unsigned int md5_word_t
typedef md5_state_s md5_state_t

Functions

void md5_init (md5_state_t *pms)
void md5_append (md5_state_t *pms, const md5_byte_t *data, int nbytes)
void md5_finish (md5_state_t *pms, md5_byte_t digest[16])


Define Documentation

#define MD5_DIGEST_BUFSZ   (MD5_DIGEST_LEN+1)
 

Definition at line 77 of file md5.h.

#define MD5_DIGEST_LEN   32
 

Definition at line 76 of file md5.h.


Typedef Documentation

typedef unsigned char md5_byte_t
 

Definition at line 73 of file md5.h.

Referenced by md5_append(), md5_finish(), u_md5(), and u_md5io().

typedef struct md5_state_s md5_state_t
 

Referenced by md5_append(), md5_finish(), md5_init(), u_md5(), and u_md5io().

typedef unsigned int md5_word_t
 

Definition at line 74 of file md5.h.

Referenced by md5_append().


Function Documentation

void md5_append md5_state_t pms,
const md5_byte_t data,
int  nbytes
 

Definition at line 314 of file md5.c.

References md5_state_s::buf, md5_state_s::count, md5_byte_t, md5_state_t, and md5_word_t.

Referenced by md5_finish(), u_md5(), and u_md5io().

void md5_finish md5_state_t pms,
md5_byte_t  digest[16]
 

Definition at line 352 of file md5.c.

References md5_state_s::abcd, md5_state_s::count, md5_append(), md5_byte_t, and md5_state_t.

Referenced by u_md5(), and u_md5io().

void md5_init md5_state_t pms  ) 
 

Definition at line 304 of file md5.c.

References md5_state_s::abcd, md5_state_s::count, md5_state_t, and T_MASK.

Referenced by u_md5(), and u_md5io().


←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved