File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / coova-chilli / src / md5.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 22:48:25 2012 UTC (13 years, 1 month ago) by misho
Branches: coova-chilli, MAIN
CVS tags: v1_0_12, HEAD
coova-chilli

    1: #ifndef MD5_H
    2: #define MD5_H
    3: #include "system.h"
    4: 
    5: struct MD5Context {
    6:   uint32_t buf[4];
    7:   uint32_t bits[2];
    8:   unsigned char in[64];
    9: };
   10: 
   11: void MD5Init(struct MD5Context *context);
   12: void MD5Update(struct MD5Context *context, unsigned char const *buf, size_t len);
   13: void MD5Final(unsigned char digest[16], struct MD5Context *context);
   14: void MD5Transform(uint32_t buf[4], uint32_t const in[16]);
   15: 
   16: /*
   17:  * This is needed to make RSAREF happy on some MS-DOS compilers.
   18:  */
   19: typedef struct MD5Context MD5_CTX;
   20: #endif /* !MD5_H */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>