/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 46 … customCurves.put(curveParams.getCurve(), CustomNamedCurves.getByName(name).getCurve()); in curveParams.getCurve() 60 public static ECCurve getCurve( in getCurve() method in EC5Util 80 curve = ecP.getCurve(); in getCurve() 89 curve = configuration.getEcImplicitlyCa().getCurve(); in getCurve() 95 curve = ecP.getCurve(); in getCurve() 115 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters() 193 …convertCurve(domainParameters.getCurve(), null), // JDK 1.5 has trouble with this if it's not nul… in convertToSpec() 286 ECCurve curve = convertCurve(ecSpec.getCurve()); in convertSpec() 293 ecSpec.getCurve().getSeed()); in convertSpec() 301 return convertPoint(convertCurve(ecSpec.getCurve()), point, withCompression); in convertPoint()
|
D | ECUtil.java | 127 …domainParameters = new ECNamedDomainParameters(nameOid, nParams.getCurve(), nParams.getG(), nParam… in getDomainParameters() 133 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters() 137 …domainParameters = new ECDomainParameters(params.getCurve(), params.getG(), params.getN(), params.… in getDomainParameters() 159 …domainParameters = new ECNamedDomainParameters(oid, ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.ge… in getDomainParameters() 165 …domainParameters = new ECDomainParameters(iSpec.getCurve(), iSpec.getG(), iSpec.getN(), iSpec.getH… in getDomainParameters() 171 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters() 188 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter() 196 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePublicKeyParameter() 242 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter() 250 … new ECDomainParameters(s.getCurve(), s.getG(), s.getN(), s.getH(), s.getSeed())); in generatePrivateKeyParameter() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEECPublicKey.java | 93 ECCurve curve = spec.getParams().getCurve(); in JCEECPublicKey() 100 if (q.getCurve() == null) in JCEECPublicKey() 104 …q = s.getCurve().createPoint(q.getAffineXCoord().toBigInteger(), q.getAffineYCoord().toBigInteger(… in JCEECPublicKey() 122 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 144 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPublicKey() 150 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPublicKey() 255 curve = ecP.getCurve(); in populateFromPubKeyInfo() 270 curve = BouncyCastleProvider.CONFIGURATION.getEcImplicitlyCa().getCurve(); in populateFromPubKeyInfo() 276 curve = ecP.getCurve(); in populateFromPubKeyInfo() 397 ECCurve curve = EC5Util.convertCurve(ecSpec.getCurve()); in getEncoded() [all …]
|
D | JCEECPrivateKey.java | 77 ECCurve curve = spec.getParams().getCurve(); in JCEECPrivateKey() 125 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 156 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in JCEECPrivateKey() 168 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in JCEECPrivateKey() 226 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo() 245 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo() 312 ECCurve curve = EC5Util.convertCurve(ecSpec.getCurve()); in getEncoded() 319 ecSpec.getCurve().getSeed()); in getEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
D | ECParameterSpec.java | 64 public ECCurve getCurve() in getCurve() method in ECParameterSpec 114 return this.getCurve().equals(other.getCurve()) && this.getG().equals(other.getG()); in equals() 119 return this.getCurve().hashCode() ^ this.getG().hashCode(); in hashCode()
|
D | ECPublicKeySpec.java | 25 if (q.getCurve() != null) in ECPublicKeySpec()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECPoint.java | 80 public ECCurve getCurve() in getCurve() method in ECPoint 282 …return this.getCurve().createRawPoint(getRawXCoord().multiply(sx), getRawYCoord().multiply(sy), th… in createScaledPoint() 307 ECCurve curve = getCurve(); in isValid() 328 …: getCurve().createRawPoint(getRawXCoord().multiply(scale), getRawYCoord(), getRawZCoords(), thi… in scaleX() 335 …: getCurve().createRawPoint(getRawXCoord(), getRawYCoord().multiply(scale), getRawZCoords(), thi… in scaleY() 345 ECCurve c1 = this.getCurve(), c2 = other.getCurve(); in equals() 404 ECCurve c = this.getCurve(); in hashCode() 525 return this.getCurve().getMultiplier().multiply(this, k); in multiply() 678 ECCurve curve = this.getCurve(); in add() 889 ECCurve curve = this.getCurve(); in twice() [all …]
|
D | ECAlgorithms.java | 52 ECCurve c = p.getCurve(); in sumOfMultiplies() 73 ECCurve cp = P.getCurve(); in sumOfTwoMultiplies() 118 ECCurve cp = P.getCurve(); in shamirsTrick() 126 ECCurve cp = p.getCurve(); in importPoint() 190 ECPoint q = p.getCurve().getInfinity(); in referenceMultiply() 223 ECCurve curve = P.getCurve(); in implShamirsTrickJsf() 311 ECCurve curve = preCompP[0].getCurve(); 380 BigInteger n = ps[0].getCurve().getOrder(); 445 ECCurve curve = infos[0].getPreComp()[0].getCurve();
|
D | WTauNafMultiplier.java | 31 ECCurve.AbstractF2m curve = (ECCurve.AbstractF2m)p.getCurve(); in multiplyPositive() 76 ECCurve.AbstractF2m curve = (ECCurve.AbstractF2m)p.getCurve(); in multiplyFromWTnaf() 102 ECPoint.AbstractF2m q = (ECPoint.AbstractF2m) p.getCurve().getInfinity(); in multiplyFromWTnaf()
|
D | GLVMultiplier.java | 25 if (!curve.equals(p.getCurve())) in multiplyPositive() 30 BigInteger n = p.getCurve().getOrder(); in multiplyPositive()
|
D | AbstractECMultiplier.java | 12 return p.getCurve().getInfinity(); in multiply()
|
D | WNafUtil.java | 302 return getWNafPreCompInfo(p.getCurve().getPreCompInfo(p, PRECOMP_NAME)); in getWNafPreCompInfo() 349 ECCurve c = p.getCurve(); in mapPointWithPrecomp() 387 ECCurve c = p.getCurve(); in precompute()
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
D | EcKeyTest.java | 157 assertEquals(priv.getParams().getCurve(), decoded.getParams().getCurve()); in testEncodedPrivateKey() 183 assertTrue(s.bitLength() >= EcUtil.fieldSizeInBits(ecParams.getCurve()) - 32); in testKeyGeneration() 209 int keySize = EcUtil.fieldSizeInBits(pub.getParams().getCurve()); in testDefaultKeyGeneration()
|
D | EcdhTest.java | 869 assertEquals(params1.getCurve(), params2.getCurve()); in testDecode() 1008 EllipticCurve pubCurve = pub.getParams().getCurve(); in testDistinctCurves() 1009 EllipticCurve privCurve = priv.getParams().getCurve(); in testDistinctCurves() 1073 spec.getCurve(), spec.getGenerator(), spec.getOrder().shiftRight(16), 1); in testWrongOrder()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | BCECPublicKey.java | 77 ECCurve curve = spec.getParams().getCurve(); in BCECPublicKey() 89 …this.ecPublicKey = new ECPublicKeyParameters(s.getCurve().createPoint(spec.getQ().getAffineXCoord(… in BCECPublicKey() 109 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 133 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPublicKey() 139 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in BCECPublicKey() 195 ECCurve curve = EC5Util.getCurve(configuration, params); in populateFromPubKeyInfo()
|
D | BCECPrivateKey.java | 76 ECCurve curve = spec.getParams().getCurve(); in BCECPrivateKey() 131 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPrivateKey() 164 EllipticCurve ellipticCurve = EC5Util.convertCurve(dp.getCurve(), dp.getSeed()); in BCECPrivateKey() 176 EllipticCurve ellipticCurve = EC5Util.convertCurve(spec.getCurve(), spec.getSeed()); in BCECPrivateKey() 218 ECCurve curve = EC5Util.getCurve(configuration, params); in populateFromPrivKeyInfo()
|
D | ECUtils.java | 82 ECCurve curve = EC5Util.convertCurve(ecSpec.getCurve()); in getDomainParametersFromName() 89 ecSpec.getCurve().getSeed()); in getDomainParametersFromName()
|
D | KeyPairGeneratorSpi.java | 198 …return new ECKeyGenerationParameters(new ECDomainParameters(p.getCurve(), p.getG(), p.getN(), p.ge… in createKeyGenParamsBC() 203 ECCurve curve = EC5Util.convertCurve(p.getCurve()); in createKeyGenParamsJCE() 244 … return new ECNamedCurveSpec(curveName, p.getCurve(), p.getG(), p.getN(), p.getH(), seed); in createNamedCurveSpec()
|
D | AlgorithmParametersSpi.java | 80 ECCurve curve = EC5Util.getCurve(BouncyCastleProvider.CONFIGURATION, params); in engineInit() 161 ecSpec.getCurve(), in engineGetEncoded()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/agreement/ |
D | ECDHBasicAgreement.java | 41 return (key.getParameters().getCurve().getFieldSize() + 7) / 8; in getFieldSize() 49 ECCurve myCurve = key.getParameters().getCurve(); in calculateAgreement()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/ |
D | PublicKeyFactory.java | 182 oid, x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey() 188 x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey() 192 X9ECPoint derQ = new X9ECPoint(x9.getCurve(), key); in createKey()
|
D | PrivateKeyFactory.java | 146 oid, x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey() 152 x9.getCurve(), x9.getG(), x9.getN(), x9.getH(), x9.getSeed()); in createKey()
|
/external/wycheproof/java/com/google/security/wycheproof/ |
D | EcUtil.java | 334 checkPointOnCurve(key.getW(), key.getParams().getCurve()); in checkPublicKey() 346 EllipticCurve ec = ecParams.getCurve(); in getPoint() 374 EllipticCurve ec = ecParams.getCurve(); in decompressPoint() 420 EllipticCurve curve = ecParams.getCurve(); in getWeakPublicKey()
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECPublicKey.java | 138 return spec.getCurve().equals(otherSpec.getCurve()) in equals()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | X9ECParameters.java | 47 this.curve = x9c.getCurve(); in X9ECParameters() 159 public ECCurve getCurve() in getCurve() method in X9ECParameters
|