Mercurial > masqmail-0.2
comparison src/md5/md5.h @ 163:06525982a56c
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:03:08 +0200 |
parents | 52c82d755215 |
children |
comparison
equal
deleted
inserted
replaced
162:52c82d755215 | 163:06525982a56c |
---|---|
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]; |