X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=lib%2Fsilccrypt%2Fmd5_internal.h;h=71f1603c1c3ce9f7bb1fc1793d98c718db970183;hb=a818c5b5411bbc4436d1c5f011236985c96bb787;hp=ef1bddb66200b57bd27edecbb546e2b4961edc23;hpb=62f89b2886bbe9df82d9b2fdabfe707509d9e0fc;p=silc.git diff --git a/lib/silccrypt/md5_internal.h b/lib/silccrypt/md5_internal.h index ef1bddb6..71f1603c 100644 --- a/lib/silccrypt/md5_internal.h +++ b/lib/silccrypt/md5_internal.h @@ -3,18 +3,16 @@ #ifndef MD5_INTERNAL_H #define MD5_INTERNAL_H -typedef unsigned long uint32; - struct MD5Context { - uint32 buf[4]; - uint32 bits[2]; + SilcUInt32 buf[4]; + SilcUInt32 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(uint32 buf[4], const unsigned char kbuf[64]); +void MD5Transform(SilcUInt32 buf[4], const unsigned char kbuf[64]); /* * This is needed to make RSAREF happy on some MS-DOS compilers.