Lines Matching refs:state

42     uint64_t state[8];    /* the cipher state */  in WhirlpoolTransform()  local
63 state[0] = block[0] ^ (K[0] = context->state[0]); in WhirlpoolTransform()
64 state[1] = block[1] ^ (K[1] = context->state[1]); in WhirlpoolTransform()
65 state[2] = block[2] ^ (K[2] = context->state[2]); in WhirlpoolTransform()
66 state[3] = block[3] ^ (K[3] = context->state[3]); in WhirlpoolTransform()
67 state[4] = block[4] ^ (K[4] = context->state[4]); in WhirlpoolTransform()
68 state[5] = block[5] ^ (K[5] = context->state[5]); in WhirlpoolTransform()
69 state[6] = block[6] ^ (K[6] = context->state[6]); in WhirlpoolTransform()
70 state[7] = block[7] ^ (K[7] = context->state[7]); in WhirlpoolTransform()
163 C0[(int)(state[0] >> 56) ] ^ in WhirlpoolTransform()
164 C1[(int)(state[7] >> 48) & 0xff] ^ in WhirlpoolTransform()
165 C2[(int)(state[6] >> 40) & 0xff] ^ in WhirlpoolTransform()
166 C3[(int)(state[5] >> 32) & 0xff] ^ in WhirlpoolTransform()
167 C4[(int)(state[4] >> 24) & 0xff] ^ in WhirlpoolTransform()
168 C5[(int)(state[3] >> 16) & 0xff] ^ in WhirlpoolTransform()
169 C6[(int)(state[2] >> 8) & 0xff] ^ in WhirlpoolTransform()
170 C7[(int)(state[1] ) & 0xff] ^ in WhirlpoolTransform()
173 C0[(int)(state[1] >> 56) ] ^ in WhirlpoolTransform()
174 C1[(int)(state[0] >> 48) & 0xff] ^ in WhirlpoolTransform()
175 C2[(int)(state[7] >> 40) & 0xff] ^ in WhirlpoolTransform()
176 C3[(int)(state[6] >> 32) & 0xff] ^ in WhirlpoolTransform()
177 C4[(int)(state[5] >> 24) & 0xff] ^ in WhirlpoolTransform()
178 C5[(int)(state[4] >> 16) & 0xff] ^ in WhirlpoolTransform()
179 C6[(int)(state[3] >> 8) & 0xff] ^ in WhirlpoolTransform()
180 C7[(int)(state[2] ) & 0xff] ^ in WhirlpoolTransform()
183 C0[(int)(state[2] >> 56) ] ^ in WhirlpoolTransform()
184 C1[(int)(state[1] >> 48) & 0xff] ^ in WhirlpoolTransform()
185 C2[(int)(state[0] >> 40) & 0xff] ^ in WhirlpoolTransform()
186 C3[(int)(state[7] >> 32) & 0xff] ^ in WhirlpoolTransform()
187 C4[(int)(state[6] >> 24) & 0xff] ^ in WhirlpoolTransform()
188 C5[(int)(state[5] >> 16) & 0xff] ^ in WhirlpoolTransform()
189 C6[(int)(state[4] >> 8) & 0xff] ^ in WhirlpoolTransform()
190 C7[(int)(state[3] ) & 0xff] ^ in WhirlpoolTransform()
193 C0[(int)(state[3] >> 56) ] ^ in WhirlpoolTransform()
194 C1[(int)(state[2] >> 48) & 0xff] ^ in WhirlpoolTransform()
195 C2[(int)(state[1] >> 40) & 0xff] ^ in WhirlpoolTransform()
196 C3[(int)(state[0] >> 32) & 0xff] ^ in WhirlpoolTransform()
197 C4[(int)(state[7] >> 24) & 0xff] ^ in WhirlpoolTransform()
198 C5[(int)(state[6] >> 16) & 0xff] ^ in WhirlpoolTransform()
199 C6[(int)(state[5] >> 8) & 0xff] ^ in WhirlpoolTransform()
200 C7[(int)(state[4] ) & 0xff] ^ in WhirlpoolTransform()
203 C0[(int)(state[4] >> 56) ] ^ in WhirlpoolTransform()
204 C1[(int)(state[3] >> 48) & 0xff] ^ in WhirlpoolTransform()
205 C2[(int)(state[2] >> 40) & 0xff] ^ in WhirlpoolTransform()
206 C3[(int)(state[1] >> 32) & 0xff] ^ in WhirlpoolTransform()
207 C4[(int)(state[0] >> 24) & 0xff] ^ in WhirlpoolTransform()
208 C5[(int)(state[7] >> 16) & 0xff] ^ in WhirlpoolTransform()
209 C6[(int)(state[6] >> 8) & 0xff] ^ in WhirlpoolTransform()
210 C7[(int)(state[5] ) & 0xff] ^ in WhirlpoolTransform()
213 C0[(int)(state[5] >> 56) ] ^ in WhirlpoolTransform()
214 C1[(int)(state[4] >> 48) & 0xff] ^ in WhirlpoolTransform()
215 C2[(int)(state[3] >> 40) & 0xff] ^ in WhirlpoolTransform()
216 C3[(int)(state[2] >> 32) & 0xff] ^ in WhirlpoolTransform()
217 C4[(int)(state[1] >> 24) & 0xff] ^ in WhirlpoolTransform()
218 C5[(int)(state[0] >> 16) & 0xff] ^ in WhirlpoolTransform()
219 C6[(int)(state[7] >> 8) & 0xff] ^ in WhirlpoolTransform()
220 C7[(int)(state[6] ) & 0xff] ^ in WhirlpoolTransform()
223 C0[(int)(state[6] >> 56) ] ^ in WhirlpoolTransform()
224 C1[(int)(state[5] >> 48) & 0xff] ^ in WhirlpoolTransform()
225 C2[(int)(state[4] >> 40) & 0xff] ^ in WhirlpoolTransform()
226 C3[(int)(state[3] >> 32) & 0xff] ^ in WhirlpoolTransform()
227 C4[(int)(state[2] >> 24) & 0xff] ^ in WhirlpoolTransform()
228 C5[(int)(state[1] >> 16) & 0xff] ^ in WhirlpoolTransform()
229 C6[(int)(state[0] >> 8) & 0xff] ^ in WhirlpoolTransform()
230 C7[(int)(state[7] ) & 0xff] ^ in WhirlpoolTransform()
233 C0[(int)(state[7] >> 56) ] ^ in WhirlpoolTransform()
234 C1[(int)(state[6] >> 48) & 0xff] ^ in WhirlpoolTransform()
235 C2[(int)(state[5] >> 40) & 0xff] ^ in WhirlpoolTransform()
236 C3[(int)(state[4] >> 32) & 0xff] ^ in WhirlpoolTransform()
237 C4[(int)(state[3] >> 24) & 0xff] ^ in WhirlpoolTransform()
238 C5[(int)(state[2] >> 16) & 0xff] ^ in WhirlpoolTransform()
239 C6[(int)(state[1] >> 8) & 0xff] ^ in WhirlpoolTransform()
240 C7[(int)(state[0] ) & 0xff] ^ in WhirlpoolTransform()
242 state[0] = L[0]; in WhirlpoolTransform()
243 state[1] = L[1]; in WhirlpoolTransform()
244 state[2] = L[2]; in WhirlpoolTransform()
245 state[3] = L[3]; in WhirlpoolTransform()
246 state[4] = L[4]; in WhirlpoolTransform()
247 state[5] = L[5]; in WhirlpoolTransform()
248 state[6] = L[6]; in WhirlpoolTransform()
249 state[7] = L[7]; in WhirlpoolTransform()
254 context->state[0] ^= state[0] ^ block[0]; in WhirlpoolTransform()
255 context->state[1] ^= state[1] ^ block[1]; in WhirlpoolTransform()
256 context->state[2] ^= state[2] ^ block[2]; in WhirlpoolTransform()
257 context->state[3] ^= state[3] ^ block[3]; in WhirlpoolTransform()
258 context->state[4] ^= state[4] ^ block[4]; in WhirlpoolTransform()
259 context->state[5] ^= state[5] ^ block[5]; in WhirlpoolTransform()
260 context->state[6] ^= state[6] ^ block[6]; in WhirlpoolTransform()
261 context->state[7] ^= state[7] ^ block[7]; in WhirlpoolTransform()
263 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform()
418 digest[0] = (unsigned char)(context->state[i] >> 56); in PHP_WHIRLPOOLFinal()
419 digest[1] = (unsigned char)(context->state[i] >> 48); in PHP_WHIRLPOOLFinal()
420 digest[2] = (unsigned char)(context->state[i] >> 40); in PHP_WHIRLPOOLFinal()
421 digest[3] = (unsigned char)(context->state[i] >> 32); in PHP_WHIRLPOOLFinal()
422 digest[4] = (unsigned char)(context->state[i] >> 24); in PHP_WHIRLPOOLFinal()
423 digest[5] = (unsigned char)(context->state[i] >> 16); in PHP_WHIRLPOOLFinal()
424 digest[6] = (unsigned char)(context->state[i] >> 8); in PHP_WHIRLPOOLFinal()
425 digest[7] = (unsigned char)(context->state[i] ); in PHP_WHIRLPOOLFinal()