• Home
  • Raw
  • Download

Lines Matching refs:x

401 static void tgr192_round(u64 * ra, u64 * rb, u64 * rc, u64 x, int mul)  in tgr192_round()  argument
407 c ^= x; in tgr192_round()
420 static void tgr192_pass(u64 * ra, u64 * rb, u64 * rc, u64 * x, int mul) in tgr192_pass() argument
426 tgr192_round(&a, &b, &c, x[0], mul); in tgr192_pass()
427 tgr192_round(&b, &c, &a, x[1], mul); in tgr192_pass()
428 tgr192_round(&c, &a, &b, x[2], mul); in tgr192_pass()
429 tgr192_round(&a, &b, &c, x[3], mul); in tgr192_pass()
430 tgr192_round(&b, &c, &a, x[4], mul); in tgr192_pass()
431 tgr192_round(&c, &a, &b, x[5], mul); in tgr192_pass()
432 tgr192_round(&a, &b, &c, x[6], mul); in tgr192_pass()
433 tgr192_round(&b, &c, &a, x[7], mul); in tgr192_pass()
441 static void tgr192_key_schedule(u64 * x) in tgr192_key_schedule() argument
443 x[0] -= x[7] ^ 0xa5a5a5a5a5a5a5a5ULL; in tgr192_key_schedule()
444 x[1] ^= x[0]; in tgr192_key_schedule()
445 x[2] += x[1]; in tgr192_key_schedule()
446 x[3] -= x[2] ^ ((~x[1]) << 19); in tgr192_key_schedule()
447 x[4] ^= x[3]; in tgr192_key_schedule()
448 x[5] += x[4]; in tgr192_key_schedule()
449 x[6] -= x[5] ^ ((~x[4]) >> 23); in tgr192_key_schedule()
450 x[7] ^= x[6]; in tgr192_key_schedule()
451 x[0] += x[7]; in tgr192_key_schedule()
452 x[1] -= x[0] ^ ((~x[7]) << 19); in tgr192_key_schedule()
453 x[2] ^= x[1]; in tgr192_key_schedule()
454 x[3] += x[2]; in tgr192_key_schedule()
455 x[4] -= x[3] ^ ((~x[2]) >> 23); in tgr192_key_schedule()
456 x[5] ^= x[4]; in tgr192_key_schedule()
457 x[6] += x[5]; in tgr192_key_schedule()
458 x[7] -= x[6] ^ 0x0123456789abcdefULL; in tgr192_key_schedule()
469 u64 x[8]; in tgr192_transform() local
474 x[i] = le64_to_cpu(ptr[i]); in tgr192_transform()
481 tgr192_pass(&a, &b, &c, x, 5); in tgr192_transform()
482 tgr192_key_schedule(x); in tgr192_transform()
483 tgr192_pass(&c, &a, &b, x, 7); in tgr192_transform()
484 tgr192_key_schedule(x); in tgr192_transform()
485 tgr192_pass(&b, &c, &a, x, 9); in tgr192_transform()