libfortuna  1
FortunalibraryfunctionsextractedfromPostgreSQLsource
 All Data Structures Files Functions Variables Typedefs Macros
md5.h File Reference

Go to the source code of this file.

Data Structures

struct  md5_ctxt
 

Macros

#define MD5_BUFLEN   64
 
#define md5_sta   md5_st.md5_state32[0]
 
#define md5_stb   md5_st.md5_state32[1]
 
#define md5_stc   md5_st.md5_state32[2]
 
#define md5_std   md5_st.md5_state32[3]
 
#define md5_st8   md5_st.md5_state8
 
#define md5_n   md5_count.md5_count64
 
#define md5_n8   md5_count.md5_count8
 
#define MD5_CTX   md5_ctxt
 
#define MD5Init(x)   md5_init((x))
 
#define MD5Update(x, y, z)   md5_loop((x), (y), (z))
 
#define MD5Final(x, y)
 

Functions

void md5_init (md5_ctxt *)
 
void md5_loop (md5_ctxt *, const uint8 *, unsigned int)
 
void md5_pad (md5_ctxt *)
 
void md5_result (uint8 *, md5_ctxt *)
 

Macro Definition Documentation

#define MD5_BUFLEN   64
#define MD5_CTX   md5_ctxt
#define md5_n   md5_count.md5_count64
#define md5_n8   md5_count.md5_count8
#define md5_st8   md5_st.md5_state8
#define md5_sta   md5_st.md5_state32[0]
#define md5_stb   md5_st.md5_state32[1]
#define md5_stc   md5_st.md5_state32[2]
#define md5_std   md5_st.md5_state32[3]
#define MD5Final (   x,
 
)
Value:
do { \
md5_pad((y)); \
md5_result((x), (y)); \
} while (0)
#define MD5Init (   x)    md5_init((x))
#define MD5Update (   x,
  y,
 
)    md5_loop((x), (y), (z))

Function Documentation

void md5_init ( md5_ctxt )
void md5_loop ( md5_ctxt ,
const uint8 ,
unsigned  int 
)
void md5_pad ( md5_ctxt )
void md5_result ( uint8 ,
md5_ctxt  
)