/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
D | ECNamedCurveTable.java | 24 X9ECParameters ecP = org.bouncycastle.crypto.ec.CustomNamedCurves.getByName(name); in getParameterSpec() local 25 if (ecP == null) in getParameterSpec() 29 … ecP = org.bouncycastle.crypto.ec.CustomNamedCurves.getByOID(new ASN1ObjectIdentifier(name)); in getParameterSpec() 36 if (ecP == null) in getParameterSpec() 38 ecP = org.bouncycastle.asn1.x9.ECNamedCurveTable.getByName(name); in getParameterSpec() 39 if (ecP == null) in getParameterSpec() 43 … ecP = org.bouncycastle.asn1.x9.ECNamedCurveTable.getByOID(new ASN1ObjectIdentifier(name)); in getParameterSpec() 53 if (ecP == null) in getParameterSpec() 60 ecP.getCurve(), in getParameterSpec() 61 ecP.getG(), in getParameterSpec() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | EC5Util.java | 73 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getCurve() local 75 if (ecP == null) in getCurve() 77 ecP = (X9ECParameters)configuration.getAdditionalECParameters().get(oid); in getCurve() 80 curve = ecP.getCurve(); in getCurve() 93 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in getCurve() local 95 curve = ecP.getCurve(); in getCurve() 134 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in convertToSpec() local 135 if (ecP == null) in convertToSpec() 140 ecP = (X9ECParameters)additionalECParameters.get(oid); in convertToSpec() 144 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in convertToSpec() [all …]
|
D | ECUtil.java | 152 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getDomainParameters() local 153 if (ecP == null) in getDomainParameters() 157 ecP = (X9ECParameters)extraCurves.get(oid); in getDomainParameters() 159 …ainParameters = new ECNamedDomainParameters(oid, ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(… in getDomainParameters() 169 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in getDomainParameters() local 171 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | ECNamedCurveTable.java | 32 X9ECParameters ecP = X962NamedCurves.getByName(name); in getByName() local 34 if (ecP == null) in getByName() 36 ecP = SECNamedCurves.getByName(name); in getByName() 39 if (ecP == null) in getByName() 41 ecP = NISTNamedCurves.getByName(name); in getByName() 56 return ecP; in getByName() 144 X9ECParameters ecP = X962NamedCurves.getByOID(oid); in getByOID() local 146 if (ecP == null) in getByOID() 148 ecP = SECNamedCurves.getByOID(oid); in getByOID() 165 return ecP; in getByOID()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
D | JCEECPrivateKey.java | 206 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPrivKeyInfo() local 226 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo() 232 ecP.getG().getAffineXCoord().toBigInteger(), in populateFromPrivKeyInfo() 233 ecP.getG().getAffineYCoord().toBigInteger()), in populateFromPrivKeyInfo() 234 ecP.getN(), in populateFromPrivKeyInfo() 235 ecP.getH()); in populateFromPrivKeyInfo() 244 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPrivKeyInfo() local 245 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo() 250 ecP.getG().getAffineXCoord().toBigInteger(), in populateFromPrivKeyInfo() 251 ecP.getG().getAffineYCoord().toBigInteger()), in populateFromPrivKeyInfo() [all …]
|
D | JCEECPublicKey.java | 253 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPubKeyInfo() local 255 curve = ecP.getCurve(); in populateFromPubKeyInfo() 256 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo() 262 ecP.getG().getAffineXCoord().toBigInteger(), in populateFromPubKeyInfo() 263 ecP.getG().getAffineYCoord().toBigInteger()), in populateFromPubKeyInfo() 264 ecP.getN(), in populateFromPubKeyInfo() 265 ecP.getH()); in populateFromPubKeyInfo() 274 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPubKeyInfo() local 276 curve = ecP.getCurve(); in populateFromPubKeyInfo() 277 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | ECKeyPairGenerator.java | 28 ECKeyGenerationParameters ecP = (ECKeyGenerationParameters)param; in init() local 30 this.random = ecP.getRandom(); in init() 31 this.params = ecP.getDomainParameters(); in init()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
D | ECUtils.java | 84 X9ECParameters ecP = new X9ECParameters( in getDomainParametersFromName() local 91 params = new X962Parameters(ecP); in getDomainParametersFromName()
|
D | AlgorithmParametersSpi.java | 160 X9ECParameters ecP = new X9ECParameters( in engineGetEncoded() local 167 params = new X962Parameters(ecP); in engineGetEncoded()
|
/external/tpm2/ |
D | CpriECC.c | 105 EC_POINT *ecP, // IN: the point to convert in Point2B() argument 117 || EC_POINT_get_affine_coordinates_GFp(group, ecP, bnX, bnY, context) != 1 in Point2B() 210 EC_POINT *ecP, // IN: an existing BN point in the group in PointFrom2B() argument 218 if(ecP == NULL) in PointFrom2B() 227 || !EC_POINT_set_affine_coordinates_GFp(group, ecP, bnX, bnY, context) in PointFrom2B() 231 return ecP; in PointFrom2B() 247 EC_POINT *ecP; in EccInitPoint2B() local 249 ecP = EC_POINT_new(group); in EccInitPoint2B() 250 if(PointFrom2B(group, ecP, p, context) == NULL) in EccInitPoint2B() 253 return ecP; in EccInitPoint2B()
|
/external/bouncycastle/patches/ |
D | bcprov.patch | 322 ecP = SECNamedCurves.getByName(name); 325 - if (ecP == null) 327 - ecP = TeleTrusTNamedCurves.getByName(name); 330 + // if (ecP == null) 332 + // ecP = TeleTrusTNamedCurves.getByName(name); 336 if (ecP == null) 356 ecP = SECNamedCurves.getByOID(oid); 359 - if (ecP == null) 361 - ecP = TeleTrusTNamedCurves.getByOID(oid); 364 + // if (ecP == null) [all …]
|