• Home
  • Raw
  • Download

Lines Matching refs:x

397 static void tgr192_round(u64 * ra, u64 * rb, u64 * rc, u64 x, int mul)  in tgr192_round()  argument
403 c ^= x; in tgr192_round()
416 static void tgr192_pass(u64 * ra, u64 * rb, u64 * rc, u64 * x, int mul) in tgr192_pass() argument
422 tgr192_round(&a, &b, &c, x[0], mul); in tgr192_pass()
423 tgr192_round(&b, &c, &a, x[1], mul); in tgr192_pass()
424 tgr192_round(&c, &a, &b, x[2], mul); in tgr192_pass()
425 tgr192_round(&a, &b, &c, x[3], mul); in tgr192_pass()
426 tgr192_round(&b, &c, &a, x[4], mul); in tgr192_pass()
427 tgr192_round(&c, &a, &b, x[5], mul); in tgr192_pass()
428 tgr192_round(&a, &b, &c, x[6], mul); in tgr192_pass()
429 tgr192_round(&b, &c, &a, x[7], mul); in tgr192_pass()
437 static void tgr192_key_schedule(u64 * x) in tgr192_key_schedule() argument
439 x[0] -= x[7] ^ 0xa5a5a5a5a5a5a5a5ULL; in tgr192_key_schedule()
440 x[1] ^= x[0]; in tgr192_key_schedule()
441 x[2] += x[1]; in tgr192_key_schedule()
442 x[3] -= x[2] ^ ((~x[1]) << 19); in tgr192_key_schedule()
443 x[4] ^= x[3]; in tgr192_key_schedule()
444 x[5] += x[4]; in tgr192_key_schedule()
445 x[6] -= x[5] ^ ((~x[4]) >> 23); in tgr192_key_schedule()
446 x[7] ^= x[6]; in tgr192_key_schedule()
447 x[0] += x[7]; in tgr192_key_schedule()
448 x[1] -= x[0] ^ ((~x[7]) << 19); in tgr192_key_schedule()
449 x[2] ^= x[1]; in tgr192_key_schedule()
450 x[3] += x[2]; in tgr192_key_schedule()
451 x[4] -= x[3] ^ ((~x[2]) >> 23); in tgr192_key_schedule()
452 x[5] ^= x[4]; in tgr192_key_schedule()
453 x[6] += x[5]; in tgr192_key_schedule()
454 x[7] -= x[6] ^ 0x0123456789abcdefULL; in tgr192_key_schedule()
465 u64 x[8]; in tgr192_transform() local
469 x[i] = get_unaligned_le64(data + i * sizeof(__le64)); in tgr192_transform()
476 tgr192_pass(&a, &b, &c, x, 5); in tgr192_transform()
477 tgr192_key_schedule(x); in tgr192_transform()
478 tgr192_pass(&c, &a, &b, x, 7); in tgr192_transform()
479 tgr192_key_schedule(x); in tgr192_transform()
480 tgr192_pass(&b, &c, &a, x, 9); in tgr192_transform()