Lines Matching refs:state
119 #define tiger_compress(passes, str, state) \ argument
125 a = state[0]; \
126 b = state[1]; \
127 c = state[2]; \
133 state[0] = a; \
134 state[1] = b; \
135 state[2] = c; \
151 tiger_compress(context->passes, ((php_hash_uint64 *) context->buffer), context->state); in TigerFinalize()
169 tiger_compress(context->passes, ((php_hash_uint64 *) context->buffer), context->state); in TigerFinalize()
175 context->state[0] = L64(0x0123456789ABCDEF); in PHP_3TIGERInit()
176 context->state[1] = L64(0xFEDCBA9876543210); in PHP_3TIGERInit()
177 context->state[2] = L64(0xF096A5B4C3B2E187); in PHP_3TIGERInit()
184 context->state[0] = L64(0x0123456789ABCDEF); in PHP_4TIGERInit()
185 context->state[1] = L64(0xFEDCBA9876543210); in PHP_4TIGERInit()
186 context->state[2] = L64(0xF096A5B4C3B2E187); in PHP_4TIGERInit()
200 tiger_compress(context->passes, ((const php_hash_uint64 *) context->buffer), context->state); in PHP_TIGERUpdate()
207 tiger_compress(context->passes, ((const php_hash_uint64 *) context->buffer), context->state); in PHP_TIGERUpdate()
220 digest[0] = (unsigned char) ((context->state[0] >> 56) & 0xff); in PHP_TIGER128Final()
221 digest[1] = (unsigned char) ((context->state[0] >> 48) & 0xff); in PHP_TIGER128Final()
222 digest[2] = (unsigned char) ((context->state[0] >> 40) & 0xff); in PHP_TIGER128Final()
223 digest[3] = (unsigned char) ((context->state[0] >> 32) & 0xff); in PHP_TIGER128Final()
224 digest[4] = (unsigned char) ((context->state[0] >> 24) & 0xff); in PHP_TIGER128Final()
225 digest[5] = (unsigned char) ((context->state[0] >> 16) & 0xff); in PHP_TIGER128Final()
226 digest[6] = (unsigned char) ((context->state[0] >> 8) & 0xff); in PHP_TIGER128Final()
227 digest[7] = (unsigned char) (context->state[0] & 0xff); in PHP_TIGER128Final()
228 digest[8] = (unsigned char) ((context->state[1] >> 56) & 0xff); in PHP_TIGER128Final()
229 digest[9] = (unsigned char) ((context->state[1] >> 48) & 0xff); in PHP_TIGER128Final()
230 digest[10] = (unsigned char) ((context->state[1] >> 40) & 0xff); in PHP_TIGER128Final()
231 digest[11] = (unsigned char) ((context->state[1] >> 32) & 0xff); in PHP_TIGER128Final()
232 digest[12] = (unsigned char) ((context->state[1] >> 24) & 0xff); in PHP_TIGER128Final()
233 digest[13] = (unsigned char) ((context->state[1] >> 16) & 0xff); in PHP_TIGER128Final()
234 digest[14] = (unsigned char) ((context->state[1] >> 8) & 0xff); in PHP_TIGER128Final()
235 digest[15] = (unsigned char) (context->state[1] & 0xff); in PHP_TIGER128Final()
244 digest[0] = (unsigned char) ((context->state[0] >> 56) & 0xff); in PHP_TIGER160Final()
245 digest[1] = (unsigned char) ((context->state[0] >> 48) & 0xff); in PHP_TIGER160Final()
246 digest[2] = (unsigned char) ((context->state[0] >> 40) & 0xff); in PHP_TIGER160Final()
247 digest[3] = (unsigned char) ((context->state[0] >> 32) & 0xff); in PHP_TIGER160Final()
248 digest[4] = (unsigned char) ((context->state[0] >> 24) & 0xff); in PHP_TIGER160Final()
249 digest[5] = (unsigned char) ((context->state[0] >> 16) & 0xff); in PHP_TIGER160Final()
250 digest[6] = (unsigned char) ((context->state[0] >> 8) & 0xff); in PHP_TIGER160Final()
251 digest[7] = (unsigned char) (context->state[0] & 0xff); in PHP_TIGER160Final()
252 digest[8] = (unsigned char) ((context->state[1] >> 56) & 0xff); in PHP_TIGER160Final()
253 digest[9] = (unsigned char) ((context->state[1] >> 48) & 0xff); in PHP_TIGER160Final()
254 digest[10] = (unsigned char) ((context->state[1] >> 40) & 0xff); in PHP_TIGER160Final()
255 digest[11] = (unsigned char) ((context->state[1] >> 32) & 0xff); in PHP_TIGER160Final()
256 digest[12] = (unsigned char) ((context->state[1] >> 24) & 0xff); in PHP_TIGER160Final()
257 digest[13] = (unsigned char) ((context->state[1] >> 16) & 0xff); in PHP_TIGER160Final()
258 digest[14] = (unsigned char) ((context->state[1] >> 8) & 0xff); in PHP_TIGER160Final()
259 digest[15] = (unsigned char) (context->state[1] & 0xff); in PHP_TIGER160Final()
260 digest[16] = (unsigned char) ((context->state[2] >> 56) & 0xff); in PHP_TIGER160Final()
261 digest[17] = (unsigned char) ((context->state[2] >> 48) & 0xff); in PHP_TIGER160Final()
262 digest[18] = (unsigned char) ((context->state[2] >> 40) & 0xff); in PHP_TIGER160Final()
263 digest[19] = (unsigned char) ((context->state[2] >> 32) & 0xff); in PHP_TIGER160Final()
272 digest[0] = (unsigned char) ((context->state[0] >> 56) & 0xff); in PHP_TIGER192Final()
273 digest[1] = (unsigned char) ((context->state[0] >> 48) & 0xff); in PHP_TIGER192Final()
274 digest[2] = (unsigned char) ((context->state[0] >> 40) & 0xff); in PHP_TIGER192Final()
275 digest[3] = (unsigned char) ((context->state[0] >> 32) & 0xff); in PHP_TIGER192Final()
276 digest[4] = (unsigned char) ((context->state[0] >> 24) & 0xff); in PHP_TIGER192Final()
277 digest[5] = (unsigned char) ((context->state[0] >> 16) & 0xff); in PHP_TIGER192Final()
278 digest[6] = (unsigned char) ((context->state[0] >> 8) & 0xff); in PHP_TIGER192Final()
279 digest[7] = (unsigned char) (context->state[0] & 0xff); in PHP_TIGER192Final()
280 digest[8] = (unsigned char) ((context->state[1] >> 56) & 0xff); in PHP_TIGER192Final()
281 digest[9] = (unsigned char) ((context->state[1] >> 48) & 0xff); in PHP_TIGER192Final()
282 digest[10] = (unsigned char) ((context->state[1] >> 40) & 0xff); in PHP_TIGER192Final()
283 digest[11] = (unsigned char) ((context->state[1] >> 32) & 0xff); in PHP_TIGER192Final()
284 digest[12] = (unsigned char) ((context->state[1] >> 24) & 0xff); in PHP_TIGER192Final()
285 digest[13] = (unsigned char) ((context->state[1] >> 16) & 0xff); in PHP_TIGER192Final()
286 digest[14] = (unsigned char) ((context->state[1] >> 8) & 0xff); in PHP_TIGER192Final()
287 digest[15] = (unsigned char) (context->state[1] & 0xff); in PHP_TIGER192Final()
288 digest[16] = (unsigned char) ((context->state[2] >> 56) & 0xff); in PHP_TIGER192Final()
289 digest[17] = (unsigned char) ((context->state[2] >> 48) & 0xff); in PHP_TIGER192Final()
290 digest[18] = (unsigned char) ((context->state[2] >> 40) & 0xff); in PHP_TIGER192Final()
291 digest[19] = (unsigned char) ((context->state[2] >> 32) & 0xff); in PHP_TIGER192Final()
292 digest[20] = (unsigned char) ((context->state[2] >> 24) & 0xff); in PHP_TIGER192Final()
293 digest[21] = (unsigned char) ((context->state[2] >> 16) & 0xff); in PHP_TIGER192Final()
294 digest[22] = (unsigned char) ((context->state[2] >> 8) & 0xff); in PHP_TIGER192Final()
295 digest[23] = (unsigned char) (context->state[2] & 0xff); in PHP_TIGER192Final()