Lines Matching refs:fq2
66 FiniteFieldObj fq2; member in __anon2fa6ae9d0111::PrintutilsTest
103 fq2 = FiniteFieldObj(fq, neg_beta, 2); in ConstructFiniteFields()
104 fq2_xi = FfElementObj(&fq2, xi_str); in ConstructFiniteFields()
107 FfElementObj neg_xi(&fq2); in ConstructFiniteFields()
108 THROW_ON_EPIDERR(FfNeg(fq2, FfElementObj(&fq2, xi_str), neg_xi)); in ConstructFiniteFields()
109 fq6 = FiniteFieldObj(fq2, neg_xi, 3); in ConstructFiniteFields()
145 FfElementObj inv_xi(&fq2); in ConstructEllipticCurveGroups()
146 THROW_ON_EPIDERR(FfInv(fq2, FfElementObj(&fq2, xi_str), inv_xi)); in ConstructEllipticCurveGroups()
148 FfElementObj b_dash(&fq2); in ConstructEllipticCurveGroups()
149 THROW_ON_EPIDERR(FfMul(fq2, inv_xi.get(), FfElementObj(&fq, b1), b_dash)); in ConstructEllipticCurveGroups()
152 efq2 = EcGroupObj(&fq2, FfElementObj(&fq2), b_dash, in ConstructEllipticCurveGroups()
153 FfElementObj(&fq2, &g2_str.x, sizeof(g2_str.x)), in ConstructEllipticCurveGroups()
154 FfElementObj(&fq2, &g2_str.y, sizeof(g2_str.y)), in ConstructEllipticCurveGroups()
303 PrintFfElement(fq2, fq2_xi, "fq2_xi", kPrintUtilAnnotated); in TEST_F()
324 PrintFfElement(fq2, fq2_xi, "fq2_xi", kPrintUtilUnannotated); in TEST_F()
367 PrintFfElement(fq2, fq2_xi, "fq2_xi", (PrintUtilFormat)100); in TEST_F()