y^2+x*y=x^3+a2*x^2+a6
Extended Lopez-Dahab coordinates with a2=0 [database entry] make the additional assumptions
a2=0and represent x y as X Y Z ZZ XZ satisfying the following equations:
x=X/Z
y=Y/ZZ
ZZ=Z^2
XZ=X*Z
Operation | Assumptions | Cost | Readdition cost |
---|---|---|---|
addition | Z2=1 | 9M + 4S + 1*a2 | 9M + 4S + 1*a2 |
addition | 14M + 3S | 14M + 3S | |
doubling | Z1=1 | 2M + 3S + 1*a6 | |
doubling | sqrta6^2=a6 | 2M + 5S + 1*a6 + 1*sqrta6 |
A = Y1+Y2*ZZ1 B = X1+X2*Z1 C = B*Z1 Z3 = C^2 ZZ3 = Z3^2 D = X2*Z3 X3 = A^2+C*(A+B^2+a2*C) Y3 = (D+X3)*(A*C+Z3)+(Y2+X2)*ZZ3 XZ3 = X3*Z3
A = X1*Z2 B = X2*Z1 C = A^2 D = B^2 E = A+B F = C+D G = Y1*ZZ2 H = Y2*ZZ1 I = G+H J = I*E Z3 = F*Z1*Z2 X3 = A*(H+D)+B*(C+G) Y3 = (A*J+F*G)*F+(J+Z3)*X3 ZZ3 = Z3^2 XZ3 = X3*Z3
A = X1^2 B = Y1^2 Z3 = A ZZ3 = A^2 X3 = ZZ3+a6 XZ3 = X3*Z3 Y3 = B*(B+X3+Z3)+a6*ZZ3+XZ3
A = X1^2 B = Y1^2 Z3 = XZ1^2 X3 = (A+sqrta6*ZZ1)^2 ZZ3 = Z3^2 XZ3 = X3*Z3 Y3 = B*(B+X3+Z3)+a6*ZZ3+XZ3