Home | History | Annotate | Download | only in crypto

Lines Matching refs:state

16 static void sha1_transform(u32 *state, const u8 data[64])
21 context.h[0] = state[0];
22 context.h[1] = state[1];
23 context.h[2] = state[2];
24 context.h[3] = state[3];
25 context.h[4] = state[4];
27 state[0] = context.h[0];
28 state[1] = context.h[1];
29 state[2] = context.h[2];
30 state[3] = context.h[3];
31 state[4] = context.h[4];
33 context.h0 = state[0];
34 context.h1 = state[1];
35 context.h2 = state[2];
36 context.h3 = state[3];
37 context.h4 = state[4];
39 state[0] = context.h0;
40 state[1] = context.h1;
41 state[2] = context.h2;
42 state[3] = context.h3;
43 state[4] = context.h4;