Main Page Modules Compound List File List Compound Members File Members Related Pages

# md5.h

    00001 #ifndef MD5_H
    00002 #define MD5_H
    00003
    00004 static const char rcsid_md5_h[] = "$Id: md5.h,v 1.2 2004/10/28 12:42:12 freddy77 Exp $";
    00005 static const void *const no_unused_md5_h_warn[] = { rcsid_md5_h, no_unused_md5_h_warn };
    00006
    00007 struct MD5Context {
    00008         TDS_UINT buf[4];
    00009         TDS_UINT bits[2];
    00010         unsigned char in[64];
    00011 };
    00012
    00013 void MD5Init(struct MD5Context *context);
    00014 void MD5Update(struct MD5Context *context, unsigned char const *buf,
    00015                unsigned len);
    00016 void MD5Final(struct MD5Context *context, unsigned char *digest);
    00017 void MD5Transform(TDS_UINT buf[4], TDS_UINT const in[16]);
    00018
    00019 /*
    00020  * This is needed to make RSAREF happy on some MS-DOS compilers.
    00021  */
    00022 typedef struct MD5Context MD5_CTX;
    00023
    00024 #endif /* !MD5_H */