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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
H A DSecP192K1Curve.java65 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
67 return new SecP192K1Point(this, x, y, withCompression);
70 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
72 return new SecP192K1Point(this, x, y, zs, withCompression);
H A DSecP192R1Curve.java66 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
68 return new SecP192R1Point(this, x, y, withCompression);
71 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
73 return new SecP192R1Point(this, x, y, zs, withCompression);
H A DSecP224K1Curve.java64 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
66 return new SecP224K1Point(this, x, y, withCompression);
69 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
71 return new SecP224K1Point(this, x, y, zs, withCompression);
H A DSecP224R1Curve.java66 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
68 return new SecP224R1Point(this, x, y, withCompression);
71 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
73 return new SecP224R1Point(this, x, y, zs, withCompression);
H A DSecP256K1Curve.java64 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
66 return new SecP256K1Point(this, x, y, withCompression);
69 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
71 return new SecP256K1Point(this, x, y, zs, withCompression);
H A DSecP256R1Curve.java66 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
68 return new SecP256R1Point(this, x, y, withCompression);
71 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
73 return new SecP256R1Point(this, x, y, zs, withCompression);
H A DSecP384R1Curve.java66 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
68 return new SecP384R1Point(this, x, y, withCompression);
71 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
73 return new SecP384R1Point(this, x, y, zs, withCompression);
H A DSecP521R1Curve.java66 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
68 return new SecP521R1Point(this, x, y, withCompression);
71 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
73 return new SecP521R1Point(this, x, y, zs, withCompression);
H A DSecP192K1Point.java37 * @param withCompression
43 public SecP192K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
52 this.withCompression = withCompression;
56 boolean withCompression)
60 this.withCompression = withCompression;
191 return new SecP192K1Point(curve, X3, Y3, zs, this.withCompression);
251 return new SecP192K1Point(curve, X3, Y3, new ECFieldElement[] { Z3 }, this.withCompression);
296 return new SecP192K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
55 SecP192K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
[all...]
H A DSecP192R1Point.java37 * @param withCompression
43 public SecP192R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
52 this.withCompression = withCompression;
55 SecP192R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
59 this.withCompression = withCompression;
190 return new SecP192R1Point(curve, X3, Y3, zs, this.withCompression);
263 return new SecP192R1Point(curve, X3, Y3, new ECFieldElement[]{ Z3 }, this.withCompression);
308 return new SecP192R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
[all...]
H A DSecP224K1Point.java37 * @param withCompression
43 public SecP224K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
52 this.withCompression = withCompression;
56 boolean withCompression)
60 this.withCompression = withCompression;
191 return new SecP224K1Point(curve, X3, Y3, zs, this.withCompression);
251 return new SecP224K1Point(curve, X3, Y3, new ECFieldElement[] { Z3 }, this.withCompression);
296 return new SecP224K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
55 SecP224K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
[all...]
H A DSecP224R1Point.java37 * @param withCompression
43 public SecP224R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
52 this.withCompression = withCompression;
55 SecP224R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
59 this.withCompression = withCompression;
189 return new SecP224R1Point(curve, X3, Y3, zs, this.withCompression);
261 return new SecP224R1Point(curve, X3, Y3, new ECFieldElement[]{ Z3 }, this.withCompression);
306 return new SecP224R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
[all...]
H A DSecP256K1Point.java37 * @param withCompression
43 public SecP256K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
52 this.withCompression = withCompression;
56 boolean withCompression)
60 this.withCompression = withCompression;
191 return new SecP256K1Point(curve, X3, Y3, zs, this.withCompression);
251 return new SecP256K1Point(curve, X3, Y3, new ECFieldElement[] { Z3 }, this.withCompression);
296 return new SecP256K1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
55 SecP256K1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
[all...]
H A DSecP256R1Point.java37 * @param withCompression
43 public SecP256R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
52 this.withCompression = withCompression;
55 SecP256R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
59 this.withCompression = withCompression;
189 return new SecP256R1Point(curve, X3, Y3, zs, this.withCompression);
261 return new SecP256R1Point(curve, X3, Y3, new ECFieldElement[]{ Z3 }, this.withCompression);
306 return new SecP256R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
[all...]
H A DSecP384R1Point.java37 * @param withCompression
43 public SecP384R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
52 this.withCompression = withCompression;
55 SecP384R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
59 this.withCompression = withCompression;
190 return new SecP384R1Point(curve, X3, Y3, zs, this.withCompression);
262 return new SecP384R1Point(curve, X3, Y3, new ECFieldElement[]{ Z3 }, this.withCompression);
307 return new SecP384R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
[all...]
H A DSecP521R1Point.java36 * @param withCompression
42 public SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
51 this.withCompression = withCompression;
54 SecP521R1Point(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
58 this.withCompression = withCompression;
185 return new SecP521R1Point(curve, X3, Y3, zs, this.withCompression);
256 return new SecP521R1Point(curve, X3, Y3, new ECFieldElement[]{ Z3 }, this.withCompression);
331 return new SecP521R1Point(curve, this.x, this.y.negate(), this.zs, this.withCompression);
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DECPoint.java49 protected boolean withCompression; field in class:ECPoint
282 return this.getCurve().createRawPoint(getRawXCoord().multiply(sx), getRawYCoord().multiply(sy), this.withCompression);
295 return this.withCompression;
328 : getCurve().createRawPoint(getRawXCoord().multiply(scale), getRawYCoord(), getRawZCoords(), this.withCompression);
335 : getCurve().createRawPoint(getRawXCoord(), getRawYCoord().multiply(scale), getRawZCoords(), this.withCompression);
446 return getEncoded(this.withCompression);
624 * @param withCompression if true encode with point compression
628 public Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
637 this.withCompression = withCompression;
640 Fp(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
1599 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression) argument
1625 F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
[all...]
H A DECCurve.java128 public ECPoint validatePoint(BigInteger x, BigInteger y, boolean withCompression) argument
130 ECPoint p = createPoint(x, y, withCompression);
147 public ECPoint createPoint(BigInteger x, BigInteger y, boolean withCompression) argument
149 return createRawPoint(fromBigInteger(x), fromBigInteger(y), withCompression);
154 protected abstract ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression); argument
156 protected abstract ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression); argument
223 return validatePoint(p.getXCoord().toBigInteger(), p.getYCoord().toBigInteger(), p.withCompression);
619 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
621 return new ECPoint.Fp(this, x, y, withCompression);
624 protected ECPoint createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
711 createPoint(BigInteger x, BigInteger y, boolean withCompression) argument
1103 createRawPoint(ECFieldElement x, ECFieldElement y, boolean withCompression) argument
1108 createRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, boolean withCompression) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DJCEECPublicKey.java57 private boolean withCompression; field in class:JCEECPublicKey
69 this.withCompression = key.withCompression;
354 // EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
401 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
411 new X9ECPoint(curve.createPoint(this.getQ().getAffineXCoord().toBigInteger(), this.getQ().getAffineYCoord().toBigInteger(), withCompression)).toASN1Primitive();
447 return EC5Util.convertSpec(ecSpec, withCompression);
474 return EC5Util.convertSpec(ecSpec, withCompression);
495 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
524 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);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DBCECPublicKey.java40 private boolean withCompression; field in class:BCECPublicKey
53 this.withCompression = key.withCompression;
240 ASN1Encodable params = ECUtils.getDomainParametersFromName(ecSpec, withCompression);
241 ASN1OctetString p = ASN1OctetString.getInstance(new X9ECPoint(ecPublicKey.getQ(), withCompression).toASN1Primitive());
261 return EC5Util.convertSpec(ecSpec, withCompression);
292 return EC5Util.convertSpec(ecSpec, withCompression);
314 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
H A DECUtils.java63 static X962Parameters getDomainParametersFromName(ECParameterSpec ecSpec, boolean withCompression) argument
86 EC5Util.convertPoint(curve, ecSpec.getGenerator(), withCompression),
H A DBCECPrivateKey.java43 private boolean withCompression; field in class:BCECPrivateKey
110 this.withCompression = key.withCompression;
260 X962Parameters params = ECUtils.getDomainParametersFromName(ecSpec, withCompression);
308 return EC5Util.convertSpec(ecSpec, withCompression);
315 return EC5Util.convertSpec(ecSpec, withCompression);
351 withCompression = !("UNCOMPRESSED".equalsIgnoreCase(style));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
H A DEC5Util.java284 boolean withCompression)
290 convertPoint(curve, ecSpec.getGenerator(), withCompression),
299 boolean withCompression)
301 return convertPoint(convertCurve(ecSpec.getCurve()), point, withCompression);
307 boolean withCompression)
282 convertSpec( ECParameterSpec ecSpec, boolean withCompression) argument
296 convertPoint( ECParameterSpec ecSpec, ECPoint point, boolean withCompression) argument
304 convertPoint( ECCurve curve, ECPoint point, boolean withCompression) argument
/external/google-tv-pairing-protocol/java/jar/
H A Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY.DSA META ...

Completed in 259 milliseconds