4 #define MD5_DIGEST_SIZE 16
5 #define MD5_HMAC_BLOCK_SIZE 64
6 #define MD5_BLOCK_WORDS 16
7 #define MD5_HASH_WORDS 4
9 #define F1(x, y, z) (z ^ (x & (y ^ z)))
10 #define F2(x, y, z) F1(z, x, y)
11 #define F3(x, y, z) (x ^ y ^ z)
12 #define F4(x, y, z) (y ^ (x | ~z))
14 #define MD5STEP(f, w, x, y, z, in, s) \
15 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
18 __u32 hash[MD5_HASH_WORDS];
19 __u32 block[MD5_BLOCK_WORDS];
23 extern void md5_update(struct md5_ctx *, const __u8 *, unsigned int);