Lines Matching refs:withCompression
16 protected boolean withCompression;
53 return withCompression;
179 * @param withCompression if true encode with point compression
181 public Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
190 this.withCompression = withCompression;
205 if (withCompression)
297 return new ECPoint.Fp(curve, x3, y3, this.withCompression);
314 return new ECPoint.Fp(curve, this.x, this.y.negate(), this.withCompression);
348 * @param withCompression true if encode with point compression.
350 public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
371 this.withCompression = withCompression;
388 if (withCompression)
500 return new ECPoint.F2m(curve, x3, y3, withCompression);
562 return new ECPoint.F2m(this.curve, x3, y3, withCompression);
567 return new ECPoint.F2m(curve, this.getX(), this.getY().add(this.getX()), withCompression);