Mercurial > masqmail
comparison src/md5/md5.h @ 210:e0938c511243
we need at least 32 bits, so let's take a long
Solar Designer explained to me that it was int for better performance
author | meillo@marmaro.de |
---|---|
date | Sun, 18 Jul 2010 22:02:54 +0200 |
parents | 10da50168dab |
children | 8742d2cee364 |
comparison
equal
deleted
inserted
replaced
209:10da50168dab | 210:e0938c511243 |
---|---|
12 #include <openssl/md5.h> | 12 #include <openssl/md5.h> |
13 #elif !defined(_MD5_H) | 13 #elif !defined(_MD5_H) |
14 #define _MD5_H | 14 #define _MD5_H |
15 | 15 |
16 /* Any 32-bit or wider unsigned integer data type will do */ | 16 /* Any 32-bit or wider unsigned integer data type will do */ |
17 typedef unsigned int MD5_u32plus; | 17 typedef unsigned long MD5_u32plus; |
18 | 18 |
19 typedef struct { | 19 typedef struct { |
20 MD5_u32plus lo, hi; | 20 MD5_u32plus lo, hi; |
21 MD5_u32plus a, b, c, d; | 21 MD5_u32plus a, b, c, d; |
22 unsigned char buffer[64]; | 22 unsigned char buffer[64]; |