double method
Implementation
@override
Secp256r1Point double() {
final xx = x.square();
final yy = y.square();
var aVal = yy.square();
final zz = z.square();
var s = (x + yy).square() - xx - aVal;
s = s + s;
final m = xx + xx + xx + params_.a * zz.square();
final x3 = m.square() - s - s;
aVal = aVal + aVal;
aVal = aVal + aVal;
aVal = aVal + aVal;
final y3 = m * (s - x3) - aVal;
final z3 = (y + z).square() - yy - zz;
return from(x: x3, y: y3, z: z3);
}