H A D | md4.c | 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) macro 127 ROUND3(a, b, c, d,in[ 0], 3); md4_transform() 128 ROUND3(d, a, b, c, in[8], 9); md4_transform() 129 ROUND3(c, d, a, b, in[4], 11); md4_transform() 130 ROUND3(b, c, d, a, in[12], 15); md4_transform() 131 ROUND3(a, b, c, d, in[2], 3); md4_transform() 132 ROUND3(d, a, b, c, in[10], 9); md4_transform() 133 ROUND3(c, d, a, b, in[6], 11); md4_transform() 134 ROUND3(b, c, d, a, in[14], 15); md4_transform() 135 ROUND3(a, b, c, d, in[1], 3); md4_transform() 136 ROUND3(d, a, b, c, in[9], 9); md4_transform() 137 ROUND3(c, d, a, b, in[5], 11); md4_transform() 138 ROUND3(b, c, d, a, in[13], 15); md4_transform() 139 ROUND3(a, b, c, d, in[3], 3); md4_transform() 140 ROUND3(d, a, b, c, in[11], 9); md4_transform() 141 ROUND3(c, d, a, b, in[7], 11); md4_transform() 142 ROUND3(b, c, d, a, in[15], 15); md4_transform()
|