Lines Matching defs:state
19 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
166 context->state[0],
167 context->state[1],
168 context->state[2],
169 context->state[3],
170 context->state[4]);
176 void SHA1Transform(u32 state[5], const unsigned char buffer[64])
191 /* Copy context->state[] to working vars */
192 a = state[0];
193 b = state[1];
194 c = state[2];
195 d = state[3];
196 e = state[4];
218 /* Add the working vars back into context.state[] */
219 state[0] += a;
220 state[1] += b;
221 state[2] += c;
222 state[3] += d;
223 state[4] += e;
237 context->state[0] = 0x67452301;
238 context->state[1] = 0xEFCDAB89;
239 context->state[2] = 0x98BADCFE;
240 context->state[3] = 0x10325476;
241 context->state[4] = 0xC3D2E1F0;
262 SHA1Transform(context->state, context->buffer);
264 SHA1Transform(context->state, &data[i]);
296 ((context->state[i >> 2] >> ((3 - (i & 3)) * 8)) &
301 os_memset(context->state, 0, 20);