Lines Matching refs:state

46     php_hash_uint64 state[8];    /* the cipher state */  in WhirlpoolTransform()  local
67 state[0] = block[0] ^ (K[0] = context->state[0]); in WhirlpoolTransform()
68 state[1] = block[1] ^ (K[1] = context->state[1]); in WhirlpoolTransform()
69 state[2] = block[2] ^ (K[2] = context->state[2]); in WhirlpoolTransform()
70 state[3] = block[3] ^ (K[3] = context->state[3]); in WhirlpoolTransform()
71 state[4] = block[4] ^ (K[4] = context->state[4]); in WhirlpoolTransform()
72 state[5] = block[5] ^ (K[5] = context->state[5]); in WhirlpoolTransform()
73 state[6] = block[6] ^ (K[6] = context->state[6]); in WhirlpoolTransform()
74 state[7] = block[7] ^ (K[7] = context->state[7]); in WhirlpoolTransform()
167 C0[(int)(state[0] >> 56) ] ^ in WhirlpoolTransform()
168 C1[(int)(state[7] >> 48) & 0xff] ^ in WhirlpoolTransform()
169 C2[(int)(state[6] >> 40) & 0xff] ^ in WhirlpoolTransform()
170 C3[(int)(state[5] >> 32) & 0xff] ^ in WhirlpoolTransform()
171 C4[(int)(state[4] >> 24) & 0xff] ^ in WhirlpoolTransform()
172 C5[(int)(state[3] >> 16) & 0xff] ^ in WhirlpoolTransform()
173 C6[(int)(state[2] >> 8) & 0xff] ^ in WhirlpoolTransform()
174 C7[(int)(state[1] ) & 0xff] ^ in WhirlpoolTransform()
177 C0[(int)(state[1] >> 56) ] ^ in WhirlpoolTransform()
178 C1[(int)(state[0] >> 48) & 0xff] ^ in WhirlpoolTransform()
179 C2[(int)(state[7] >> 40) & 0xff] ^ in WhirlpoolTransform()
180 C3[(int)(state[6] >> 32) & 0xff] ^ in WhirlpoolTransform()
181 C4[(int)(state[5] >> 24) & 0xff] ^ in WhirlpoolTransform()
182 C5[(int)(state[4] >> 16) & 0xff] ^ in WhirlpoolTransform()
183 C6[(int)(state[3] >> 8) & 0xff] ^ in WhirlpoolTransform()
184 C7[(int)(state[2] ) & 0xff] ^ in WhirlpoolTransform()
187 C0[(int)(state[2] >> 56) ] ^ in WhirlpoolTransform()
188 C1[(int)(state[1] >> 48) & 0xff] ^ in WhirlpoolTransform()
189 C2[(int)(state[0] >> 40) & 0xff] ^ in WhirlpoolTransform()
190 C3[(int)(state[7] >> 32) & 0xff] ^ in WhirlpoolTransform()
191 C4[(int)(state[6] >> 24) & 0xff] ^ in WhirlpoolTransform()
192 C5[(int)(state[5] >> 16) & 0xff] ^ in WhirlpoolTransform()
193 C6[(int)(state[4] >> 8) & 0xff] ^ in WhirlpoolTransform()
194 C7[(int)(state[3] ) & 0xff] ^ in WhirlpoolTransform()
197 C0[(int)(state[3] >> 56) ] ^ in WhirlpoolTransform()
198 C1[(int)(state[2] >> 48) & 0xff] ^ in WhirlpoolTransform()
199 C2[(int)(state[1] >> 40) & 0xff] ^ in WhirlpoolTransform()
200 C3[(int)(state[0] >> 32) & 0xff] ^ in WhirlpoolTransform()
201 C4[(int)(state[7] >> 24) & 0xff] ^ in WhirlpoolTransform()
202 C5[(int)(state[6] >> 16) & 0xff] ^ in WhirlpoolTransform()
203 C6[(int)(state[5] >> 8) & 0xff] ^ in WhirlpoolTransform()
204 C7[(int)(state[4] ) & 0xff] ^ in WhirlpoolTransform()
207 C0[(int)(state[4] >> 56) ] ^ in WhirlpoolTransform()
208 C1[(int)(state[3] >> 48) & 0xff] ^ in WhirlpoolTransform()
209 C2[(int)(state[2] >> 40) & 0xff] ^ in WhirlpoolTransform()
210 C3[(int)(state[1] >> 32) & 0xff] ^ in WhirlpoolTransform()
211 C4[(int)(state[0] >> 24) & 0xff] ^ in WhirlpoolTransform()
212 C5[(int)(state[7] >> 16) & 0xff] ^ in WhirlpoolTransform()
213 C6[(int)(state[6] >> 8) & 0xff] ^ in WhirlpoolTransform()
214 C7[(int)(state[5] ) & 0xff] ^ in WhirlpoolTransform()
217 C0[(int)(state[5] >> 56) ] ^ in WhirlpoolTransform()
218 C1[(int)(state[4] >> 48) & 0xff] ^ in WhirlpoolTransform()
219 C2[(int)(state[3] >> 40) & 0xff] ^ in WhirlpoolTransform()
220 C3[(int)(state[2] >> 32) & 0xff] ^ in WhirlpoolTransform()
221 C4[(int)(state[1] >> 24) & 0xff] ^ in WhirlpoolTransform()
222 C5[(int)(state[0] >> 16) & 0xff] ^ in WhirlpoolTransform()
223 C6[(int)(state[7] >> 8) & 0xff] ^ in WhirlpoolTransform()
224 C7[(int)(state[6] ) & 0xff] ^ in WhirlpoolTransform()
227 C0[(int)(state[6] >> 56) ] ^ in WhirlpoolTransform()
228 C1[(int)(state[5] >> 48) & 0xff] ^ in WhirlpoolTransform()
229 C2[(int)(state[4] >> 40) & 0xff] ^ in WhirlpoolTransform()
230 C3[(int)(state[3] >> 32) & 0xff] ^ in WhirlpoolTransform()
231 C4[(int)(state[2] >> 24) & 0xff] ^ in WhirlpoolTransform()
232 C5[(int)(state[1] >> 16) & 0xff] ^ in WhirlpoolTransform()
233 C6[(int)(state[0] >> 8) & 0xff] ^ in WhirlpoolTransform()
234 C7[(int)(state[7] ) & 0xff] ^ in WhirlpoolTransform()
237 C0[(int)(state[7] >> 56) ] ^ in WhirlpoolTransform()
238 C1[(int)(state[6] >> 48) & 0xff] ^ in WhirlpoolTransform()
239 C2[(int)(state[5] >> 40) & 0xff] ^ in WhirlpoolTransform()
240 C3[(int)(state[4] >> 32) & 0xff] ^ in WhirlpoolTransform()
241 C4[(int)(state[3] >> 24) & 0xff] ^ in WhirlpoolTransform()
242 C5[(int)(state[2] >> 16) & 0xff] ^ in WhirlpoolTransform()
243 C6[(int)(state[1] >> 8) & 0xff] ^ in WhirlpoolTransform()
244 C7[(int)(state[0] ) & 0xff] ^ in WhirlpoolTransform()
246 state[0] = L[0]; in WhirlpoolTransform()
247 state[1] = L[1]; in WhirlpoolTransform()
248 state[2] = L[2]; in WhirlpoolTransform()
249 state[3] = L[3]; in WhirlpoolTransform()
250 state[4] = L[4]; in WhirlpoolTransform()
251 state[5] = L[5]; in WhirlpoolTransform()
252 state[6] = L[6]; in WhirlpoolTransform()
253 state[7] = L[7]; in WhirlpoolTransform()
258 context->state[0] ^= state[0] ^ block[0]; in WhirlpoolTransform()
259 context->state[1] ^= state[1] ^ block[1]; in WhirlpoolTransform()
260 context->state[2] ^= state[2] ^ block[2]; in WhirlpoolTransform()
261 context->state[3] ^= state[3] ^ block[3]; in WhirlpoolTransform()
262 context->state[4] ^= state[4] ^ block[4]; in WhirlpoolTransform()
263 context->state[5] ^= state[5] ^ block[5]; in WhirlpoolTransform()
264 context->state[6] ^= state[6] ^ block[6]; in WhirlpoolTransform()
265 context->state[7] ^= state[7] ^ block[7]; in WhirlpoolTransform()
267 ZEND_SECURE_ZERO(state, sizeof(state)); in WhirlpoolTransform()
422 digest[0] = (unsigned char)(context->state[i] >> 56); in PHP_WHIRLPOOLFinal()
423 digest[1] = (unsigned char)(context->state[i] >> 48); in PHP_WHIRLPOOLFinal()
424 digest[2] = (unsigned char)(context->state[i] >> 40); in PHP_WHIRLPOOLFinal()
425 digest[3] = (unsigned char)(context->state[i] >> 32); in PHP_WHIRLPOOLFinal()
426 digest[4] = (unsigned char)(context->state[i] >> 24); in PHP_WHIRLPOOLFinal()
427 digest[5] = (unsigned char)(context->state[i] >> 16); in PHP_WHIRLPOOLFinal()
428 digest[6] = (unsigned char)(context->state[i] >> 8); in PHP_WHIRLPOOLFinal()
429 digest[7] = (unsigned char)(context->state[i] ); in PHP_WHIRLPOOLFinal()