Home
last modified time | relevance | path

Searched refs:ecP (Results 1 – 12 of 12) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/
DECNamedCurveTable.java24 X9ECParameters ecP = org.bouncycastle.crypto.ec.CustomNamedCurves.getByName(name); in getParameterSpec() local
25 if (ecP == null) in getParameterSpec()
29ecP = 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()
43ecP = 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/
DEC5Util.java57 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getCurve() local
59 curve = ecP.getCurve(); in getCurve()
67 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in getCurve() local
69 curve = ecP.getCurve(); in getCurve()
84 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in convertToSpec() local
86 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in convertToSpec()
92 ecP.getG().getAffineXCoord().toBigInteger(), in convertToSpec()
93 ecP.getG().getAffineYCoord().toBigInteger()), in convertToSpec()
94 ecP.getN(), in convertToSpec()
95 ecP.getH()); in convertToSpec()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DECNamedCurveTable.java32 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/
DJCEECPrivateKey.java206 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 …]
DJCEECPublicKey.java253 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/
DECKeyPairGenerator.java28 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/
DAlgorithmParametersSpi.java146 X9ECParameters ecP = new X9ECParameters( in engineGetEncoded() local
153 params = new X962Parameters(ecP); in engineGetEncoded()
DBCECPrivateKey.java279 X9ECParameters ecP = new X9ECParameters( in getEncoded() local
286 params = new X962Parameters(ecP); in getEncoded()
DBCECPublicKey.java269 X9ECParameters ecP = new X9ECParameters( in getEncoded() local
276 params = new X962Parameters(ecP); in getEncoded()
/external/tpm2/
DCpriECC.c105 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()
Dpart4.txt33149 53 EC_POINT *ecP, // IN: the point to convert
33164 68 || EC_POINT_get_affine_coordinates_GFp(group, ecP, bnX, bnY, context) != 1
33277 152 EC_POINT *ecP, // IN: an existing BN point in the group
33286 161 if(ecP == NULL)
33296 171 || !EC_POINT_set_affine_coordinates_GFp(group, ecP, bnX, bnY, context)
33301 176 return ecP;
33322 185 EC_POINT *ecP;
33325 188 ecP = EC_POINT_new(group);
33327 190 if(PointFrom2B(group, ecP, p, context) == NULL)
33331 194 return ecP;
/external/bouncycastle/patches/
Dbcprov.patch322 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 …]