Home | History | Annotate | Download | only in C

Lines Matching refs:state

14   p->state[0] = 0x6a09e667;

15 p->state[1] = 0xbb67ae85;
16 p->state[2] = 0x3c6ef372;
17 p->state[3] = 0xa54ff53a;
18 p->state[4] = 0x510e527f;
19 p->state[5] = 0x9b05688c;
20 p->state[6] = 0x1f83d9ab;
21 p->state[7] = 0x5be0cd19;
93 static void Sha256_Transform(UInt32 *state, const UInt32 *data)
99 a = state[0];
100 b = state[1];
101 c = state[2];
102 d = state[3];
103 e = state[4];
104 f = state[5];
105 g = state[6];
106 h = state[7];
110 T[j] = state[j];
124 state[0] += a;
125 state[1] += b;
126 state[2] += c;
127 state[3] += d;
128 state[4] += e;
129 state[5] += f;
130 state[6] += g;
131 state[7] += h;
134 state[j] += T[j];
157 Sha256_Transform(p->state, data32);
198 *digest++ = (Byte)(p->state[i] >> 24);
199 *digest++ = (Byte)(p->state[i] >> 16);
200 *digest++ = (Byte)(p->state[i] >> 8);
201 *digest++ = (Byte)(p->state[i]);