diff options
Diffstat (limited to 'cpukit/pppd/md5.h')
-rw-r--r-- | cpukit/pppd/md5.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/cpukit/pppd/md5.h b/cpukit/pppd/md5.h index 7492b2228e..1756a31228 100644 --- a/cpukit/pppd/md5.h +++ b/cpukit/pppd/md5.h @@ -39,8 +39,10 @@ #ifndef __MD5_INCLUDE__ +#include <stdint.h> + /* typedef a 32-bit type */ -typedef unsigned int UINT4; +typedef uint32_t UINT4; /* Data structure for MD5 (Message-Digest) computation */ typedef struct { @@ -50,9 +52,9 @@ typedef struct { unsigned char digest[16]; /* actual digest after MD5Final call */ } MD5_CTX; -void MD5Init (); -void MD5Update (); -void MD5Final (); +void MD5Init (MD5_CTX *); +void MD5Update (MD5_CTX *, const unsigned char *, unsigned int); +void MD5Final (unsigned char [16], MD5_CTX *); #define __MD5_INCLUDE__ #endif /* __MD5_INCLUDE__ */ |