diff options
Diffstat (limited to 'src/encrypt.c')
-rw-r--r-- | src/encrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encrypt.c b/src/encrypt.c index 2904180ec..31f43ce75 100644 --- a/src/encrypt.c +++ b/src/encrypt.c @@ -95,7 +95,7 @@ static unsigned char PADDING[64] = { #define F(x, y, z) (((x) & (y)) | ((~x) & (z))) #define G(x, y, z) (((x) & (z)) | ((y) & (~z))) #define H(x, y, z) ((x) ^ (y) ^ (z)) -#define I(x, y, z) ((y) ^ ((x) | (~z))) +#define MD5_I(x, y, z) ((y) ^ ((x) | (~z))) /* ROTATE_LEFT rotates x left n bits. */ @@ -120,7 +120,7 @@ Rotation is separate from addition to prevent recomputation. (a) += (b); \ } #define II(a, b, c, d, x, s, ac) { \ - (a) += I ((b), (c), (d)) + (x) + (UINT4)(ac); \ + (a) += MD5_I ((b), (c), (d)) + (x) + (UINT4)(ac); \ (a) = ROTATE_LEFT ((a), (s)); \ (a) += (b); \ } |