Exemplo n.º 1
0
 public ECPoint(ECCurveFp curve) {
   this.curve = curve;
   this.ffa = curve.getField().getFFA();
   this.x = ffa.acquireVar();
   this.y = ffa.acquireVar();
   this.z = ffa.acquireVar();
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }