Home
last modified time | relevance | path

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

12

/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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/
DECNamedCurveTable.java26 … X9ECParameters ecP = com.android.org.bouncycastle.crypto.ec.CustomNamedCurves.getByName(name); in getParameterSpec() local
27 if (ecP == null) in getParameterSpec()
31ecP = com.android.org.bouncycastle.crypto.ec.CustomNamedCurves.getByOID(new ASN1ObjectIdentifier(n… in getParameterSpec()
38 if (ecP == null) in getParameterSpec()
40 ecP = com.android.org.bouncycastle.asn1.x9.ECNamedCurveTable.getByName(name); in getParameterSpec()
41 if (ecP == null) in getParameterSpec()
45ecP = com.android.org.bouncycastle.asn1.x9.ECNamedCurveTable.getByOID(new ASN1ObjectIdentifier(nam… in getParameterSpec()
55 if (ecP == null) in getParameterSpec()
62 ecP.getCurve(), in getParameterSpec()
63 ecP.getG(), in getParameterSpec()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/
DECNamedCurveTable.java26 …X9ECParameters ecP = com.android.internal.org.bouncycastle.crypto.ec.CustomNamedCurves.getByName(… in getParameterSpec() local
27 if (ecP == null) in getParameterSpec()
31ecP = com.android.internal.org.bouncycastle.crypto.ec.CustomNamedCurves.getByOID(new ASN1ObjectIde… in getParameterSpec()
38 if (ecP == null) in getParameterSpec()
40ecP = com.android.internal.org.bouncycastle.asn1.x9.ECNamedCurveTable.getByName(name); in getParameterSpec()
41 if (ecP == null) in getParameterSpec()
45ecP = com.android.internal.org.bouncycastle.asn1.x9.ECNamedCurveTable.getByOID(new ASN1ObjectIdent… in getParameterSpec()
55 if (ecP == null) in getParameterSpec()
62 ecP.getCurve(), in getParameterSpec()
63 ecP.getG(), in getParameterSpec()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DECNamedCurveTable.java33 X9ECParameters ecP = X962NamedCurves.getByName(name); in getByName() local
35 if (ecP == null) in getByName()
37 ecP = SECNamedCurves.getByName(name); in getByName()
40 if (ecP == null) in getByName()
42 ecP = NISTNamedCurves.getByName(name); in getByName()
69 return ecP; in getByName()
189 X9ECParameters ecP = X962NamedCurves.getByOID(oid); in getByOID() local
191 if (ecP == null) in getByOID()
193 ecP = SECNamedCurves.getByOID(oid); in getByOID()
222 return ecP; in getByOID()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/x9/
DECNamedCurveTable.java35 X9ECParameters ecP = X962NamedCurves.getByName(name); in getByName() local
37 if (ecP == null) in getByName()
39 ecP = SECNamedCurves.getByName(name); in getByName()
42 if (ecP == null) in getByName()
44 ecP = NISTNamedCurves.getByName(name); in getByName()
71 return ecP; in getByName()
191 X9ECParameters ecP = X962NamedCurves.getByOID(oid); in getByOID() local
193 if (ecP == null) in getByOID()
195 ecP = SECNamedCurves.getByOID(oid); in getByOID()
224 return ecP; in getByOID()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/
DECNamedCurveTable.java35 X9ECParameters ecP = X962NamedCurves.getByName(name); in getByName() local
37 if (ecP == null) in getByName()
39 ecP = SECNamedCurves.getByName(name); in getByName()
42 if (ecP == null) in getByName()
44 ecP = NISTNamedCurves.getByName(name); in getByName()
71 return ecP; in getByName()
191 X9ECParameters ecP = X962NamedCurves.getByOID(oid); in getByOID() local
193 if (ecP == null) in getByOID()
195 ecP = SECNamedCurves.getByOID(oid); in getByOID()
224 return ecP; in getByOID()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java83 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getCurve() local
85 if (ecP == null) in getCurve()
87 ecP = (X9ECParameters)configuration.getAdditionalECParameters().get(oid); in getCurve()
90 curve = ecP.getCurve(); in getCurve()
108 X9ECParameters ecP = X9ECParameters.getInstance(pSeq); in getCurve() local
110 curve = ecP.getCurve(); in getCurve()
162 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in convertToSpec() local
163 if (ecP == null) in convertToSpec()
168 ecP = (X9ECParameters)additionalECParameters.get(oid); in convertToSpec()
172 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in convertToSpec()
[all …]
DECUtil.java151 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getDomainParameters() local
152 if (ecP == null) in getDomainParameters()
156 ecP = (X9ECParameters)extraCurves.get(oid); in getDomainParameters()
158 domainParameters = new ECNamedDomainParameters(oid, ecP); in getDomainParameters()
168 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in getDomainParameters() local
170 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java87 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getCurve() local
89 if (ecP == null) in getCurve()
91 ecP = (X9ECParameters)configuration.getAdditionalECParameters().get(oid); in getCurve()
94 curve = ecP.getCurve(); in getCurve()
112 X9ECParameters ecP = X9ECParameters.getInstance(pSeq); in getCurve() local
114 curve = ecP.getCurve(); in getCurve()
166 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in convertToSpec() local
167 if (ecP == null) in convertToSpec()
172 ecP = (X9ECParameters)additionalECParameters.get(oid); in convertToSpec()
176 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in convertToSpec()
[all …]
DECUtil.java153 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getDomainParameters() local
154 if (ecP == null) in getDomainParameters()
158 ecP = (X9ECParameters)extraCurves.get(oid); in getDomainParameters()
160 domainParameters = new ECNamedDomainParameters(oid, ecP); in getDomainParameters()
170 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in getDomainParameters() local
172 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java87 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getCurve() local
89 if (ecP == null) in getCurve()
91 ecP = (X9ECParameters)configuration.getAdditionalECParameters().get(oid); in getCurve()
94 curve = ecP.getCurve(); in getCurve()
112 X9ECParameters ecP = X9ECParameters.getInstance(pSeq); in getCurve() local
114 curve = ecP.getCurve(); in getCurve()
166 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in convertToSpec() local
167 if (ecP == null) in convertToSpec()
172 ecP = (X9ECParameters)additionalECParameters.get(oid); in convertToSpec()
176 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in convertToSpec()
[all …]
DECUtil.java153 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in getDomainParameters() local
154 if (ecP == null) in getDomainParameters()
158 ecP = (X9ECParameters)extraCurves.get(oid); in getDomainParameters()
160 domainParameters = new ECNamedDomainParameters(oid, ecP); in getDomainParameters()
170 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in getDomainParameters() local
172 …domainParameters = new ECDomainParameters(ecP.getCurve(), ecP.getG(), ecP.getN(), ecP.getH(), ecP.… in getDomainParameters()
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/
DBnConvert.c255 bigPoint ecP, // OUT: the preallocated point structure in BnPointFrom2B() argument
262 if(NULL != ecP) in BnPointFrom2B()
264 BnFrom2B(ecP->x, &p->x.b); in BnPointFrom2B()
265 BnFrom2B(ecP->y, &p->y.b); in BnPointFrom2B()
266 BnSetWord(ecP->z, 1); in BnPointFrom2B()
268 return ecP; in BnPointFrom2B()
280 bigPoint ecP, // IN: the values to be converted in BnPointTo2B() argument
286 pAssert(p && ecP && E); in BnPointTo2B()
287 pAssert(BnEqualWord(ecP->z, 1)); in BnPointTo2B()
290 BnTo2B(ecP->x, &p->x.b, size); in BnPointTo2B()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCEECPrivateKey.java198 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPrivKeyInfo() local
218 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
223 EC5Util.convertPoint(ecP.getG()), in populateFromPrivKeyInfo()
224 ecP.getN(), in populateFromPrivKeyInfo()
225 ecP.getH()); in populateFromPrivKeyInfo()
234 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPrivKeyInfo() local
235 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
239 EC5Util.convertPoint(ecP.getG()), in populateFromPrivKeyInfo()
240 ecP.getN(), in populateFromPrivKeyInfo()
241 ecP.getH().intValue()); in populateFromPrivKeyInfo()
[all …]
DJCEECPublicKey.java241 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPubKeyInfo() local
243 curve = ecP.getCurve(); in populateFromPubKeyInfo()
244 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo()
249 EC5Util.convertPoint(ecP.getG()), in populateFromPubKeyInfo()
250 ecP.getN(), in populateFromPubKeyInfo()
251 ecP.getH()); in populateFromPubKeyInfo()
260 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPubKeyInfo() local
262 curve = ecP.getCurve(); in populateFromPubKeyInfo()
263 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo()
267 EC5Util.convertPoint(ecP.getG()), in populateFromPubKeyInfo()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DJCEECPrivateKey.java202 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPrivKeyInfo() local
222 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
227 EC5Util.convertPoint(ecP.getG()), in populateFromPrivKeyInfo()
228 ecP.getN(), in populateFromPrivKeyInfo()
229 ecP.getH()); in populateFromPrivKeyInfo()
238 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPrivKeyInfo() local
239 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
243 EC5Util.convertPoint(ecP.getG()), in populateFromPrivKeyInfo()
244 ecP.getN(), in populateFromPrivKeyInfo()
245 ecP.getH().intValue()); in populateFromPrivKeyInfo()
[all …]
DJCEECPublicKey.java245 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPubKeyInfo() local
247 curve = ecP.getCurve(); in populateFromPubKeyInfo()
248 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo()
253 EC5Util.convertPoint(ecP.getG()), in populateFromPubKeyInfo()
254 ecP.getN(), in populateFromPubKeyInfo()
255 ecP.getH()); in populateFromPubKeyInfo()
264 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPubKeyInfo() local
266 curve = ecP.getCurve(); in populateFromPubKeyInfo()
267 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo()
271 EC5Util.convertPoint(ecP.getG()), in populateFromPubKeyInfo()
[all …]
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DJCEECPublicKey.java245 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPubKeyInfo() local
247 curve = ecP.getCurve(); in populateFromPubKeyInfo()
248 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo()
253 EC5Util.convertPoint(ecP.getG()), in populateFromPubKeyInfo()
254 ecP.getN(), in populateFromPubKeyInfo()
255 ecP.getH()); in populateFromPubKeyInfo()
264 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPubKeyInfo() local
266 curve = ecP.getCurve(); in populateFromPubKeyInfo()
267 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()); in populateFromPubKeyInfo()
271 EC5Util.convertPoint(ecP.getG()), in populateFromPubKeyInfo()
[all …]
DJCEECPrivateKey.java202 X9ECParameters ecP = ECUtil.getNamedCurveByOid(oid); in populateFromPrivKeyInfo() local
222 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
227 EC5Util.convertPoint(ecP.getG()), in populateFromPrivKeyInfo()
228 ecP.getN(), in populateFromPrivKeyInfo()
229 ecP.getH()); in populateFromPrivKeyInfo()
238 X9ECParameters ecP = X9ECParameters.getInstance(params.getParameters()); in populateFromPrivKeyInfo() local
239 EllipticCurve ellipticCurve = EC5Util.convertCurve(ecP.getCurve(), ecP.getSeed()); in populateFromPrivKeyInfo()
243 EC5Util.convertPoint(ecP.getG()), in populateFromPrivKeyInfo()
244 ecP.getN(), in populateFromPrivKeyInfo()
245 ecP.getH().intValue()); in populateFromPrivKeyInfo()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DECKeyPairGenerator.java29 ECKeyGenerationParameters ecP = (ECKeyGenerationParameters)param; in init() local
31 this.random = ecP.getRandom(); in init()
32 this.params = ecP.getDomainParameters(); in init()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DECKeyPairGenerator.java33 ECKeyGenerationParameters ecP = (ECKeyGenerationParameters)param; in init() local
35 this.random = ecP.getRandom(); in init()
36 this.params = ecP.getDomainParameters(); in init()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/generators/
DECKeyPairGenerator.java33 ECKeyGenerationParameters ecP = (ECKeyGenerationParameters)param; in init() local
35 this.random = ecP.getRandom(); in init()
36 this.params = ecP.getDomainParameters(); in init()
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DBnConvert_fp.h112 bigPoint ecP, // OUT: the preallocated point structure
125 bigPoint ecP, // IN: the values to be converted
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DECUtils.java85 X9ECParameters ecP = new X9ECParameters( in getDomainParametersFromName() local
92 params = new X962Parameters(ecP); in getDomainParametersFromName()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jcajce/provider/asymmetric/ec/
DECUtils.java86 X9ECParameters ecP = new X9ECParameters( in getDomainParametersFromName() local
93 params = new X962Parameters(ecP); in getDomainParametersFromName()

12