Lines Matching refs:x2
333 u32 i, t0, t1, x1, x2, x3, x4; in seed_set_key() local
336 x2 = be32_to_cpu(key[1]); in seed_set_key()
342 t1 = x2 + KC[i] - x4; in seed_set_key()
350 x1 = (x1 >> 8) ^ (x2 << 24); in seed_set_key()
351 x2 = (x2 >> 8) ^ (t0 << 24); in seed_set_key()
369 u32 x1, x2, x3, x4, t0, t1; in seed_encrypt() local
373 x2 = be32_to_cpu(src[1]); in seed_encrypt()
377 OP(x1, x2, x3, x4, 0); in seed_encrypt()
378 OP(x3, x4, x1, x2, 2); in seed_encrypt()
379 OP(x1, x2, x3, x4, 4); in seed_encrypt()
380 OP(x3, x4, x1, x2, 6); in seed_encrypt()
381 OP(x1, x2, x3, x4, 8); in seed_encrypt()
382 OP(x3, x4, x1, x2, 10); in seed_encrypt()
383 OP(x1, x2, x3, x4, 12); in seed_encrypt()
384 OP(x3, x4, x1, x2, 14); in seed_encrypt()
385 OP(x1, x2, x3, x4, 16); in seed_encrypt()
386 OP(x3, x4, x1, x2, 18); in seed_encrypt()
387 OP(x1, x2, x3, x4, 20); in seed_encrypt()
388 OP(x3, x4, x1, x2, 22); in seed_encrypt()
389 OP(x1, x2, x3, x4, 24); in seed_encrypt()
390 OP(x3, x4, x1, x2, 26); in seed_encrypt()
391 OP(x1, x2, x3, x4, 28); in seed_encrypt()
392 OP(x3, x4, x1, x2, 30); in seed_encrypt()
397 dst[3] = cpu_to_be32(x2); in seed_encrypt()
407 u32 x1, x2, x3, x4, t0, t1; in seed_decrypt() local
411 x2 = be32_to_cpu(src[1]); in seed_decrypt()
415 OP(x1, x2, x3, x4, 30); in seed_decrypt()
416 OP(x3, x4, x1, x2, 28); in seed_decrypt()
417 OP(x1, x2, x3, x4, 26); in seed_decrypt()
418 OP(x3, x4, x1, x2, 24); in seed_decrypt()
419 OP(x1, x2, x3, x4, 22); in seed_decrypt()
420 OP(x3, x4, x1, x2, 20); in seed_decrypt()
421 OP(x1, x2, x3, x4, 18); in seed_decrypt()
422 OP(x3, x4, x1, x2, 16); in seed_decrypt()
423 OP(x1, x2, x3, x4, 14); in seed_decrypt()
424 OP(x3, x4, x1, x2, 12); in seed_decrypt()
425 OP(x1, x2, x3, x4, 10); in seed_decrypt()
426 OP(x3, x4, x1, x2, 8); in seed_decrypt()
427 OP(x1, x2, x3, x4, 6); in seed_decrypt()
428 OP(x3, x4, x1, x2, 4); in seed_decrypt()
429 OP(x1, x2, x3, x4, 2); in seed_decrypt()
430 OP(x3, x4, x1, x2, 0); in seed_decrypt()
435 dst[3] = cpu_to_be32(x2); in seed_decrypt()