Lines Matching refs:state

44     uint64_t state[8];    /* the cipher state */  in WhirlpoolTransform()  local
65 state[0] = block[0] ^ (K[0] = context->state[0]); in WhirlpoolTransform()
66 state[1] = block[1] ^ (K[1] = context->state[1]); in WhirlpoolTransform()
67 state[2] = block[2] ^ (K[2] = context->state[2]); in WhirlpoolTransform()
68 state[3] = block[3] ^ (K[3] = context->state[3]); in WhirlpoolTransform()
69 state[4] = block[4] ^ (K[4] = context->state[4]); in WhirlpoolTransform()
70 state[5] = block[5] ^ (K[5] = context->state[5]); in WhirlpoolTransform()
71 state[6] = block[6] ^ (K[6] = context->state[6]); in WhirlpoolTransform()
72 state[7] = block[7] ^ (K[7] = context->state[7]); in WhirlpoolTransform()
165 C0[(int)(state[0] >> 56) ] ^ in WhirlpoolTransform()
166 C1[(int)(state[7] >> 48) & 0xff] ^ in WhirlpoolTransform()
167 C2[(int)(state[6] >> 40) & 0xff] ^ in WhirlpoolTransform()
168 C3[(int)(state[5] >> 32) & 0xff] ^ in WhirlpoolTransform()
169 C4[(int)(state[4] >> 24) & 0xff] ^ in WhirlpoolTransform()
170 C5[(int)(state[3] >> 16) & 0xff] ^ in WhirlpoolTransform()
171 C6[(int)(state[2] >> 8) & 0xff] ^ in WhirlpoolTransform()
172 C7[(int)(state[1] ) & 0xff] ^ in WhirlpoolTransform()
175 C0[(int)(state[1] >> 56) ] ^ in WhirlpoolTransform()
176 C1[(int)(state[0] >> 48) & 0xff] ^ in WhirlpoolTransform()
177 C2[(int)(state[7] >> 40) & 0xff] ^ in WhirlpoolTransform()
178 C3[(int)(state[6] >> 32) & 0xff] ^ in WhirlpoolTransform()
179 C4[(int)(state[5] >> 24) & 0xff] ^ in WhirlpoolTransform()
180 C5[(int)(state[4] >> 16) & 0xff] ^ in WhirlpoolTransform()
181 C6[(int)(state[3] >> 8) & 0xff] ^ in WhirlpoolTransform()
182 C7[(int)(state[2] ) & 0xff] ^ in WhirlpoolTransform()
185 C0[(int)(state[2] >> 56) ] ^ in WhirlpoolTransform()
186 C1[(int)(state[1] >> 48) & 0xff] ^ in WhirlpoolTransform()
187 C2[(int)(state[0] >> 40) & 0xff] ^ in WhirlpoolTransform()
188 C3[(int)(state[7] >> 32) & 0xff] ^ in WhirlpoolTransform()
189 C4[(int)(state[6] >> 24) & 0xff] ^ in WhirlpoolTransform()
190 C5[(int)(state[5] >> 16) & 0xff] ^ in WhirlpoolTransform()
191 C6[(int)(state[4] >> 8) & 0xff] ^ in WhirlpoolTransform()
192 C7[(int)(state[3] ) & 0xff] ^ in WhirlpoolTransform()
195 C0[(int)(state[3] >> 56) ] ^ in WhirlpoolTransform()
196 C1[(int)(state[2] >> 48) & 0xff] ^ in WhirlpoolTransform()
197 C2[(int)(state[1] >> 40) & 0xff] ^ in WhirlpoolTransform()
198 C3[(int)(state[0] >> 32) & 0xff] ^ in WhirlpoolTransform()
199 C4[(int)(state[7] >> 24) & 0xff] ^ in WhirlpoolTransform()
200 C5[(int)(state[6] >> 16) & 0xff] ^ in WhirlpoolTransform()
201 C6[(int)(state[5] >> 8) & 0xff] ^ in WhirlpoolTransform()
202 C7[(int)(state[4] ) & 0xff] ^ in WhirlpoolTransform()
205 C0[(int)(state[4] >> 56) ] ^ in WhirlpoolTransform()
206 C1[(int)(state[3] >> 48) & 0xff] ^ in WhirlpoolTransform()
207 C2[(int)(state[2] >> 40) & 0xff] ^ in WhirlpoolTransform()
208 C3[(int)(state[1] >> 32) & 0xff] ^ in WhirlpoolTransform()
209 C4[(int)(state[0] >> 24) & 0xff] ^ in WhirlpoolTransform()
210 C5[(int)(state[7] >> 16) & 0xff] ^ in WhirlpoolTransform()
211 C6[(int)(state[6] >> 8) & 0xff] ^ in WhirlpoolTransform()
212 C7[(int)(state[5] ) & 0xff] ^ in WhirlpoolTransform()
215 C0[(int)(state[5] >> 56) ] ^ in WhirlpoolTransform()
216 C1[(int)(state[4] >> 48) & 0xff] ^ in WhirlpoolTransform()
217 C2[(int)(state[3] >> 40) & 0xff] ^ in WhirlpoolTransform()
218 C3[(int)(state[2] >> 32) & 0xff] ^ in WhirlpoolTransform()
219 C4[(int)(state[1] >> 24) & 0xff] ^ in WhirlpoolTransform()
220 C5[(int)(state[0] >> 16) & 0xff] ^ in WhirlpoolTransform()
221 C6[(int)(state[7] >> 8) & 0xff] ^ in WhirlpoolTransform()
222 C7[(int)(state[6] ) & 0xff] ^ in WhirlpoolTransform()
225 C0[(int)(state[6] >> 56) ] ^ in WhirlpoolTransform()
226 C1[(int)(state[5] >> 48) & 0xff] ^ in WhirlpoolTransform()
227 C2[(int)(state[4] >> 40) & 0xff] ^ in WhirlpoolTransform()
228 C3[(int)(state[3] >> 32) & 0xff] ^ in WhirlpoolTransform()
229 C4[(int)(state[2] >> 24) & 0xff] ^ in WhirlpoolTransform()
230 C5[(int)(state[1] >> 16) & 0xff] ^ in WhirlpoolTransform()
231 C6[(int)(state[0] >> 8) & 0xff] ^ in WhirlpoolTransform()
232 C7[(int)(state[7] ) & 0xff] ^ in WhirlpoolTransform()
235 C0[(int)(state[7] >> 56) ] ^ in WhirlpoolTransform()
236 C1[(int)(state[6] >> 48) & 0xff] ^ in WhirlpoolTransform()
237 C2[(int)(state[5] >> 40) & 0xff] ^ in WhirlpoolTransform()
238 C3[(int)(state[4] >> 32) & 0xff] ^ in WhirlpoolTransform()
239 C4[(int)(state[3] >> 24) & 0xff] ^ in WhirlpoolTransform()
240 C5[(int)(state[2] >> 16) & 0xff] ^ in WhirlpoolTransform()
241 C6[(int)(state[1] >> 8) & 0xff] ^ in WhirlpoolTransform()
242 C7[(int)(state[0] ) & 0xff] ^ in WhirlpoolTransform()
244 state[0] = L[0]; in WhirlpoolTransform()
245 state[1] = L[1]; in WhirlpoolTransform()
246 state[2] = L[2]; in WhirlpoolTransform()
247 state[3] = L[3]; in WhirlpoolTransform()
248 state[4] = L[4]; in WhirlpoolTransform()
249 state[5] = L[5]; in WhirlpoolTransform()
250 state[6] = L[6]; in WhirlpoolTransform()
251 state[7] = L[7]; in WhirlpoolTransform()
256 context->state[0] ^= state[0] ^ block[0]; in WhirlpoolTransform()
257 context->state[1] ^= state[1] ^ block[1]; in WhirlpoolTransform()
258 context->state[2] ^= state[2] ^ block[2]; in WhirlpoolTransform()
259 context->state[3] ^= state[3] ^ block[3]; in WhirlpoolTransform()
260 context->state[4] ^= state[4] ^ block[4]; in WhirlpoolTransform()
261 context->state[5] ^= state[5] ^ block[5]; in WhirlpoolTransform()
262 context->state[6] ^= state[6] ^ block[6]; in WhirlpoolTransform()
263 context->state[7] ^= state[7] ^ block[7]; in WhirlpoolTransform()
265 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform()
420 digest[0] = (unsigned char)(context->state[i] >> 56); in PHP_WHIRLPOOLFinal()
421 digest[1] = (unsigned char)(context->state[i] >> 48); in PHP_WHIRLPOOLFinal()
422 digest[2] = (unsigned char)(context->state[i] >> 40); in PHP_WHIRLPOOLFinal()
423 digest[3] = (unsigned char)(context->state[i] >> 32); in PHP_WHIRLPOOLFinal()
424 digest[4] = (unsigned char)(context->state[i] >> 24); in PHP_WHIRLPOOLFinal()
425 digest[5] = (unsigned char)(context->state[i] >> 16); in PHP_WHIRLPOOLFinal()
426 digest[6] = (unsigned char)(context->state[i] >> 8); in PHP_WHIRLPOOLFinal()
427 digest[7] = (unsigned char)(context->state[i] ); in PHP_WHIRLPOOLFinal()