Lines Matching refs:c
38 u64 a, b, c; member
405 u64 c = *rc; in tgr192_round() local
407 c ^= x; in tgr192_round()
408 a -= sbox1[c & 0xff] ^ sbox2[(c >> 16) & 0xff] in tgr192_round()
409 ^ sbox3[(c >> 32) & 0xff] ^ sbox4[(c >> 48) & 0xff]; in tgr192_round()
410 b += sbox4[(c >> 8) & 0xff] ^ sbox3[(c >> 24) & 0xff] in tgr192_round()
411 ^ sbox2[(c >> 40) & 0xff] ^ sbox1[(c >> 56) & 0xff]; in tgr192_round()
416 *rc = c; in tgr192_round()
424 u64 c = *rc; in tgr192_pass() local
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()
437 *rc = c; in tgr192_pass()
468 u64 a, b, c, aa, bb, cc; in tgr192_transform() local
479 c = cc = tctx->c; in tgr192_transform()
481 tgr192_pass(&a, &b, &c, x, 5); in tgr192_transform()
483 tgr192_pass(&c, &a, &b, x, 7); in tgr192_transform()
485 tgr192_pass(&b, &c, &a, x, 9); in tgr192_transform()
491 c += cc; in tgr192_transform()
495 tctx->c = c; in tgr192_transform()
504 tctx->c = 0xf096a5b4c3b2e187ULL; in tgr192_init()
604 dst[2] = be64p[2] = cpu_to_be64(tctx->c); in tgr192_final()