Logo Search packages:      
Sourcecode: yersinia version File versions


/* $Id: md5.h,v 2005/04/09 20:17:53 t0mac Exp $ */

#ifndef MD5_H
#define MD5_H

#ifdef SOLARIS
typedef u_long u_int32_t;

struct MD5Context {
      u_int32_t buf[4];
      u_int32_t bits[2];
      unsigned char in[64];

void MD5Init(struct MD5Context *context);
void MD5Update(struct MD5Context *context, unsigned char const *buf,
             unsigned len);
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Transform(u_int32_t buf[4], u_int32_t const in[16]);

#ifdef REMARK
/* This' been commented out because it conflicts with openssl */

 * This is needed to make RSAREF happy on some MS-DOS compilers.
typedef struct MD5Context MD5_CTX;

#endif /* REMARK */

#endif /* !MD5_H */
/* vim:set tabstop=4:set expandtab:set shiftwidth=4:set textwidth=78: */

Generated by  Doxygen 1.6.0   Back to index