comparison src/md5/md5.h @ 221:8742d2cee364

added a note to the long vs. int question in md5.h Solar Designer explained to me in privat conversation that the int had performed much better on some systems and that 16bit ints are very rare. Still I like using the long.
author meillo@marmaro.de
date Fri, 23 Jul 2010 10:53:04 +0200
parents e0938c511243
children
comparison
equal deleted inserted replaced
220:44043b92114f 221:8742d2cee364
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 /* Note: Using an int will work on most systems and might perform much better */
17 typedef unsigned long MD5_u32plus; 18 typedef unsigned long MD5_u32plus;
18 19
19 typedef struct { 20 typedef struct {
20 MD5_u32plus lo, hi; 21 MD5_u32plus lo, hi;
21 MD5_u32plus a, b, c, d; 22 MD5_u32plus a, b, c, d;