Restored optimization of F1
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -169,8 +169,8 @@ MD5Final(unsigned char digest[16], struct MD5Context *ctx) | ... | @@ -169,8 +169,8 @@ MD5Final(unsigned char digest[16], struct MD5Context *ctx) |
169 | 169 | ||
170 | /* The four core functions - F1 is optimized somewhat */ | 170 | /* The four core functions - F1 is optimized somewhat */ |
171 | 171 | ||
172 | #define F1(x, y, z) (x & y | ~x & z) | 172 | /*#define F1(x, y, z) (x & y | ~x & z) */ |
173 | /*#define F1(x, y, z) (z ^ (x & (y ^ z))) */ | 173 | #define F1(x, y, z) (z ^ (x & (y ^ z))) |
174 | #define F2(x, y, z) F1(z, x, y) | 174 | #define F2(x, y, z) F1(z, x, y) |
175 | #define F3(x, y, z) (x ^ y ^ z) | 175 | #define F3(x, y, z) (x ^ y ^ z) |
176 | #define F4(x, y, z) (y ^ (x | ~z)) | 176 | #define F4(x, y, z) (y ^ (x | ~z)) | ... | ... |
-
Please register or sign in to post a comment