Commit 5162af43 5162af437ea0b5ee87c879f048858da822c1b67d by Sergey Poznyakoff

Restored optimization of F1

1 parent b6e3add3
......@@ -169,8 +169,8 @@ MD5Final(unsigned char digest[16], struct MD5Context *ctx)
/* The four core functions - F1 is optimized somewhat */
#define F1(x, y, z) (x & y | ~x & z)
/*#define F1(x, y, z) (z ^ (x & (y ^ z))) */
/*#define F1(x, y, z) (x & y | ~x & z) */
#define F1(x, y, z) (z ^ (x & (y ^ z)))
#define F2(x, y, z) F1(z, x, y)
#define F3(x, y, z) (x ^ y ^ z)
#define F4(x, y, z) (y ^ (x | ~z))
......