Lines Matching refs:g1
403 uint64_t f_i, g0, g1, g2, g3, g4; in fe51_mul() local
407 h1 = (u128)f_i * (g1 = g[1]); in fe51_mul()
415 h2 += (u128)f_i * g1; in fe51_mul()
423 h3 += (u128)f_i * g1; in fe51_mul()
431 h4 += (u128)f_i * g1; in fe51_mul()
434 h0 += (u128)f_i * (g1 *= 19); in fe51_mul()
445 g2 += (uint64_t)(h1 >> 51); g1 = (uint64_t)h1 & MASK51; in fe51_mul()
449 g1 += g0 >> 51; g0 &= MASK51; in fe51_mul()
452 h[1] = g1; in fe51_mul()
465 uint64_t g1 = f[1]; in fe51_sq()
472 h1 = (u128)g0 * g1; in fe51_sq()
480 h2 += (u128)g1 * g1; g1 *= 2; in fe51_sq()
481 h3 += (u128)g1 * g2; in fe51_sq()
482 h4 += (u128)g1 * g3; in fe51_sq()
483 h0 += (u128)g1 * g4; in fe51_sq()
498 g2 += (uint64_t)(h1 >> 51); g1 = (uint64_t)h1 & MASK51; in fe51_sq()
502 g1 += g0 >> 51; g0 &= MASK51; in fe51_sq()
505 h[1] = g1; in fe51_sq()
519 uint64_t g0, g1, g2, g3, g4; in fe51_mul121666() local
525 g2 += (uint64_t)(h1 >> 51); g1 = (uint64_t)h1 & MASK51; in fe51_mul121666()
529 g1 += g0 >> 51; g0 &= MASK51; in fe51_mul121666()
532 h[1] = g1; in fe51_mul121666()
1058 int32_t g1 = g[1]; in fe_mul() local
1067 int32_t g1_19 = 19 * g1; /* 1.959375*2^29 */ in fe_mul()
1082 int64_t f0g1 = f0 * (int64_t) g1; in fe_mul()
1092 int64_t f1g1_2 = f1_2 * (int64_t) g1; in fe_mul()
1102 int64_t f2g1 = f2 * (int64_t) g1; in fe_mul()
1112 int64_t f3g1_2 = f3_2 * (int64_t) g1; in fe_mul()
1122 int64_t f4g1 = f4 * (int64_t) g1; in fe_mul()
1132 int64_t f5g1_2 = f5_2 * (int64_t) g1; in fe_mul()
1142 int64_t f6g1 = f6 * (int64_t) g1; in fe_mul()
1152 int64_t f7g1_2 = f7_2 * (int64_t) g1; in fe_mul()
1162 int64_t f8g1 = f8 * (int64_t) g1; in fe_mul()