public ECPoint(ECCurveFp curve) { this.curve = curve; this.ffa = curve.getField().getFFA(); this.x = ffa.acquireVar(); this.y = ffa.acquireVar(); this.z = ffa.acquireVar(); }
public ECPoint(ECCurveFp curve, int[] x, int[] y) { this.curve = curve; this.ffa = curve.getField().getFFA(); this.x = x; this.y = y; this.z = ffa.acquireVar(); ffa.set(z, 1); }
private ECPoint(ECPoint p) { this.curve = p.curve; this.ffa = curve.getField().getFFA(); x = ffa.acquireVar(); y = ffa.acquireVar(); z = ffa.acquireVar(); ffa.copy(x, p.x); ffa.copy(y, p.y); ffa.copy(z, p.z); }