Searched refs:withCompression (Results 1 - 7 of 7) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DEC5Util.java96 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);
94 convertSpec( ECParameterSpec ecSpec, boolean withCompression) argument
108 convertPoint( ECParameterSpec ecSpec, ECPoint point, boolean withCompression) argument
116 convertPoint( ECCurve curve, ECPoint point, boolean withCompression) argument
H A DBCECPublicKey.java42 private boolean withCompression; field in class:BCECPublicKey
55 this.withCompression = key.withCompression;
302 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
312 new X9ECPoint(curve.createPoint(this.getQ().getX().toBigInteger(), this.getQ().getY().toBigInteger(), withCompression)).toASN1Primitive();
347 return EC5Util.convertSpec(ecSpec, withCompression);
381 return EC5Util.convertSpec(ecSpec, withCompression);
402 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
H A DBCECPrivateKey.java48 private boolean withCompression; field in class:BCECPrivateKey
115 this.withCompression = key.withCompression;
335 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
389 return EC5Util.convertSpec(ecSpec, withCompression);
396 return EC5Util.convertSpec(ecSpec, withCompression);
432 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECPoint.java16 protected boolean withCompression; field in class:ECPoint
53 return withCompression;
179 * @param withCompression if true encode with point compression
181 public Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
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 tru
350 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
[all...]
H A DECCurve.java17 public abstract ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression); argument
64 public ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression) argument
66 return new ECPoint.Fp(this, fromBigInteger(x), fromBigInteger(y), withCompression);
401 public ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression) argument
403 return new ECPoint.F2m(this, fromBigInteger(x), fromBigInteger(y), withCompression);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DJCEECPublicKey.java54 private boolean withCompression; field in class:JCEECPublicKey
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)).toASN1Primitive();
437 return EC5Util.convertSpec(ecSpec, withCompression);
471 return EC5Util.convertSpec(ecSpec, withCompression);
492 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
521 this.withCompression
[all...]
H A DJCEECPrivateKey.java50 private boolean withCompression; field in class:JCEECPrivateKey
107 this.withCompression = key.withCompression;
316 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
370 return EC5Util.convertSpec(ecSpec, withCompression);
377 return EC5Util.convertSpec(ecSpec, withCompression);
413 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
468 this.withCompression = in.readBoolean();
480 out.writeBoolean(withCompression);

Completed in 86 milliseconds