Lines Matching refs:x3
55 var x3 p224FieldElement
56 p224Square(&x3, &x, &tmp)
57 p224Mul(&x3, &x3, &x, &tmp)
62 p224Sub(&x3, &x3, &x)
63 p224Reduce(&x3)
64 p224Add(&x3, &x3, &curve.b)
65 p224Contract(&x3, &x3)
71 if y[i] != x3[i] {
79 var x1, y1, z1, x2, y2, z2, x3, y3, z3 p224FieldElement
92 p224AddJacobian(&x3, &y3, &z3, &x1, &y1, &z1, &x2, &y2, &z2)
93 return p224ToAffine(&x3, &y3, &z3)
503 func p224AddJacobian(x3, y3, z3, x1, y1, z1, x2, y2, z2 *p224FieldElement) {
542 p224DoubleJacobian(x3, y3, z3, x1, y1, z1)
559 // X3 = rČ-J-2*V
565 p224Square(x3, &r, &c)
566 p224Sub(x3, x3, &z1z1)
567 p224Reduce(x3)
568 // Y3 = r*(V-X3)-2*S1*J
573 p224Sub(&z1z1, &v, x3)
579 p224CopyConditional(x3, x2, z1IsZero)
580 p224CopyConditional(x3, x1, z2IsZero)
588 func p224DoubleJacobian(x3, y3, z3, x1, y1, z1 *p224FieldElement) {
615 // X3 = alphaČ-8*beta
620 p224Square(x3, &alpha, &c)
621 p224Sub(x3, x3, &delta)
622 p224Reduce(x3)
624 // Y3 = alpha*(4*beta-X3)-8*gammaČ
628 p224Sub(&beta, &beta, x3)