HomeSort by relevance Sort by last modified time
    Searched refs:withCompression (Results 1 - 5 of 5) sorted by null

  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/
EC5Util.java 96 boolean withCompression)
102 convertPoint(curve, ecSpec.getGenerator(), withCompression),
111 boolean withCompression)
113 return convertPoint(convertCurve(ecSpec.getCurve()), point, withCompression);
119 boolean withCompression)
121 return curve.createPoint(point.getAffineX(), point.getAffineY(), withCompression);
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
ECPoint.java 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
    [all...]
ECCurve.java 17 public abstract ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression);
64 public ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression)
66 return new ECPoint.Fp(this, fromBigInteger(x), fromBigInteger(y), withCompression);
401 public ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression)
403 return new ECPoint.F2m(this, fromBigInteger(x), fromBigInteger(y), withCompression);
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JCEECPublicKey.java 54 private boolean withCompression;
66 this.withCompression = key.withCompression;
351 // EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
391 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
401 new X9ECPoint(curve.createPoint(this.getQ().getX().toBigInteger(), this.getQ().getY().toBigInteger(), withCompression)).getDERObject();
437 return EC5Util.convertSpec(ecSpec, withCompression);
471 return EC5Util.convertSpec(ecSpec, withCompression);
492 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
521 this.withCompression = in.readBoolean()
    [all...]
JCEECPrivateKey.java 48 private boolean withCompression;
105 this.withCompression = key.withCompression;
311 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
358 return EC5Util.convertSpec(ecSpec, withCompression);
365 return EC5Util.convertSpec(ecSpec, withCompression);
401 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
456 this.withCompression = in.readBoolean();
468 out.writeBoolean(withCompression);

Completed in 62 milliseconds