Lines Matching refs:Z2
148 Fq2Elem* Z2, EccPointFq const* P) { in pair_tangent() argument
166 Fq2Sub(Z, Z, Z2); in pair_tangent()
179 Fq2Mul(&f->z1.y0, &f->z0.y2, Z2); in pair_tangent()
183 Fq2Mul(&f->z0.y0, Z, Z2); in pair_tangent()
186 Fq2Mul(Z2, Z, Z); in pair_tangent()
190 Fq2Square(Z2, Z); in pair_tangent()
194 Fq2Elem* Z2, EccPointFq const* P, EccPointFq2 const* Q) { in pair_line() argument
195 Fq2Mul(&f->z0.y1, &Q->x, Z2); in pair_line()
200 Fq2Sub(&f->z1.y0, &f->z1.y0, Z2); in pair_line()
201 Fq2Mul(&f->z1.y0, &f->z1.y0, Z2); in pair_line()
206 Fq2Sub(Z, Z, Z2); in pair_line()
208 Fq2Mul(Z2, Z, Z); in pair_line()
212 Fq2Sub(&f->z1.y2, &f->z1.y2, Z2); in pair_line()
246 Fq2Elem Z2; in PairingCompute() local
264 Fq2Set(&Z2, 1); in PairingCompute()
272 pair_tangent(&f, &X, &Y, &Z, &Z2, P); in PairingCompute()
276 pair_line(&f, &X, &Y, &Z, &Z2, P, Q); in PairingCompute()
285 pair_line(&f, &X, &Y, &Z, &Z2, P, &Qp); in PairingCompute()
289 pair_line(&f, &X, &Y, &Z, &Z2, P, &Qp); in PairingCompute()
297 Fq2Clear(&Z2); in PairingCompute()