Lines Matching refs:b
34 u64 a, b, c; member
400 u64 b = *rb; in tgr192_round() local
406 b += sbox4[(c >> 8) & 0xff] ^ sbox3[(c >> 24) & 0xff] in tgr192_round()
408 b *= mul; in tgr192_round()
411 *rb = b; in tgr192_round()
419 u64 b = *rb; in tgr192_pass() local
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()
432 *rb = b; in tgr192_pass()
464 u64 a, b, c, aa, bb, cc; in tgr192_transform() local
473 b = bb = tctx->b; in tgr192_transform()
476 tgr192_pass(&a, &b, &c, x, 5); in tgr192_transform()
478 tgr192_pass(&c, &a, &b, x, 7); in tgr192_transform()
480 tgr192_pass(&b, &c, &a, x, 9); in tgr192_transform()
485 b -= bb; in tgr192_transform()
489 tctx->b = b; in tgr192_transform()
498 tctx->b = 0xfedcba9876543210ULL; in tgr192_init()
598 dst[1] = be64p[1] = cpu_to_be64(tctx->b); in tgr192_final()