Lines Matching refs:state
126 void SHA1Transform(state, buffer)
127 u_int32_t state[5];
138 assert(state != 0);
147 /* Copy context->state[] to working vars */
148 a = state[0];
149 b = state[1];
150 c = state[2];
151 d = state[3];
152 e = state[4];
183 /* Add the working vars back into context.state[] */
184 state[0] += a;
185 state[1] += b;
186 state[2] += c;
187 state[3] += d;
188 state[4] += e;
205 context->state[0] = 0x67452301;
206 context->state[1] = 0xEFCDAB89;
207 context->state[2] = 0x98BADCFE;
208 context->state[3] = 0x10325476;
209 context->state[4] = 0xC3D2E1F0;
233 SHA1Transform(context->state, context->buffer);
235 SHA1Transform(context->state, &data[i]);
269 ((context->state[i>>2] >> ((3-(i & 3)) * 8) ) & 255);