Home | History | Annotate | Download | only in crypto

Lines Matching full:state

25 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
167 context->state[0],
168 context->state[1],
169 context->state[2],
170 context->state[3],
171 context->state[4]);
177 void SHA1Transform(u32 state[5], const unsigned char buffer[64])
192 /* Copy context->state[] to working vars */
193 a = state[0];
194 b = state[1];
195 c = state[2];
196 d = state[3];
197 e = state[4];
219 /* Add the working vars back into context.state[] */
220 state[0] += a;
221 state[1] += b;
222 state[2] += c;
223 state[3] += d;
224 state[4] += e;
238 context->state[0] = 0x67452301;
239 context->state[1] = 0xEFCDAB89;
240 context->state[2] = 0x98BADCFE;
241 context->state[3] = 0x10325476;
242 context->state[4] = 0xC3D2E1F0;
263 SHA1Transform(context->state, context->buffer);
265 SHA1Transform(context->state, &data[i]);
297 ((context->state[i >> 2] >> ((3 - (i & 3)) * 8)) &
303 os_memset(context->state, 0, 20);