Home
last modified time | relevance | path

Searched refs:getCofactor (Results 1 – 16 of 16) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ec/
DCustomNamedCurves.java196 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
212 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
240 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
256 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
284 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
300 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
316 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
332 return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DEcKeyTest.java156 assertEquals(priv.getParams().getCofactor(), decoded.getParams().getCofactor()); in testEncodedPrivateKey()
DEcdhTest.java868 assertEquals(params1.getCofactor(), params2.getCofactor()); in testDecode()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLECPublicKey.java141 && spec.getCofactor() == otherSpec.getCofactor(); in equals()
DOpenSSLECPrivateKey.java212 && spec.getCofactor() == otherSpec.getCofactor(); in equals()
DOpenSSLECGroupContext.java136 final int cofactor = params.getCofactor(); in getInstance()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
DECUtils.java88 BigInteger.valueOf(ecSpec.getCofactor()), in getDomainParametersFromName()
DKeyPairGeneratorSpi.java206 BigInteger h = BigInteger.valueOf(p.getCofactor()); in createKeyGenParamsJCE()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DECDSASigner.java188 BigInteger cofactor = curve.getCofactor(); in verifySignature()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java292 BigInteger.valueOf(ecSpec.getCofactor()), in convertSpec()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCEECPrivateKey.java318 BigInteger.valueOf(ecSpec.getCofactor()), in getEncoded()
DJCEECPublicKey.java403 BigInteger.valueOf(ecSpec.getCofactor()), in getEncoded()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DTnaf.java548 int shifts = getShiftsForCofactor(curve.getCofactor()); in getSi()
DECCurve.java328 public BigInteger getCofactor() in getCofactor() method in ECCurve
DECPoint.java69 BigInteger h = curve.getCofactor(); in satisfiesCofactor()
/external/bouncycastle/patches/
Dbcprov.patch775 - return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
802 + // return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
8630 - BigInteger.valueOf(ecSpec.getCofactor()),
8677 + // BigInteger.valueOf(ecSpec.getCofactor()),