Lines Matching refs:b
61 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument
62 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument
63 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument
84 u32 a, b, c, d; in md4_transform() local
87 b = hash[1]; in md4_transform()
91 ROUND1(a, b, c, d, in[0], 3); in md4_transform()
92 ROUND1(d, a, b, c, in[1], 7); in md4_transform()
93 ROUND1(c, d, a, b, in[2], 11); in md4_transform()
94 ROUND1(b, c, d, a, in[3], 19); in md4_transform()
95 ROUND1(a, b, c, d, in[4], 3); in md4_transform()
96 ROUND1(d, a, b, c, in[5], 7); in md4_transform()
97 ROUND1(c, d, a, b, in[6], 11); in md4_transform()
98 ROUND1(b, c, d, a, in[7], 19); in md4_transform()
99 ROUND1(a, b, c, d, in[8], 3); in md4_transform()
100 ROUND1(d, a, b, c, in[9], 7); in md4_transform()
101 ROUND1(c, d, a, b, in[10], 11); in md4_transform()
102 ROUND1(b, c, d, a, in[11], 19); in md4_transform()
103 ROUND1(a, b, c, d, in[12], 3); in md4_transform()
104 ROUND1(d, a, b, c, in[13], 7); in md4_transform()
105 ROUND1(c, d, a, b, in[14], 11); in md4_transform()
106 ROUND1(b, c, d, a, in[15], 19); in md4_transform()
108 ROUND2(a, b, c, d,in[ 0], 3); in md4_transform()
109 ROUND2(d, a, b, c, in[4], 5); in md4_transform()
110 ROUND2(c, d, a, b, in[8], 9); in md4_transform()
111 ROUND2(b, c, d, a, in[12], 13); in md4_transform()
112 ROUND2(a, b, c, d, in[1], 3); in md4_transform()
113 ROUND2(d, a, b, c, in[5], 5); in md4_transform()
114 ROUND2(c, d, a, b, in[9], 9); in md4_transform()
115 ROUND2(b, c, d, a, in[13], 13); in md4_transform()
116 ROUND2(a, b, c, d, in[2], 3); in md4_transform()
117 ROUND2(d, a, b, c, in[6], 5); in md4_transform()
118 ROUND2(c, d, a, b, in[10], 9); in md4_transform()
119 ROUND2(b, c, d, a, in[14], 13); in md4_transform()
120 ROUND2(a, b, c, d, in[3], 3); in md4_transform()
121 ROUND2(d, a, b, c, in[7], 5); in md4_transform()
122 ROUND2(c, d, a, b, in[11], 9); in md4_transform()
123 ROUND2(b, c, d, a, in[15], 13); in md4_transform()
125 ROUND3(a, b, c, d,in[ 0], 3); in md4_transform()
126 ROUND3(d, a, b, c, in[8], 9); in md4_transform()
127 ROUND3(c, d, a, b, in[4], 11); in md4_transform()
128 ROUND3(b, c, d, a, in[12], 15); in md4_transform()
129 ROUND3(a, b, c, d, in[2], 3); in md4_transform()
130 ROUND3(d, a, b, c, in[10], 9); in md4_transform()
131 ROUND3(c, d, a, b, in[6], 11); in md4_transform()
132 ROUND3(b, c, d, a, in[14], 15); in md4_transform()
133 ROUND3(a, b, c, d, in[1], 3); in md4_transform()
134 ROUND3(d, a, b, c, in[9], 9); in md4_transform()
135 ROUND3(c, d, a, b, in[5], 11); in md4_transform()
136 ROUND3(b, c, d, a, in[13], 15); in md4_transform()
137 ROUND3(a, b, c, d, in[3], 3); in md4_transform()
138 ROUND3(d, a, b, c, in[11], 9); in md4_transform()
139 ROUND3(c, d, a, b, in[7], 11); in md4_transform()
140 ROUND3(b, c, d, a, in[15], 15); in md4_transform()
143 hash[1] += b; in md4_transform()