/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECCurve.java | 93 protected BigInteger order, cofactor; field in ECCurve 356 return cofactor; in getCofactor() 634 public Fp(BigInteger q, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor) 645 this.cofactor = cofactor; 657 …Integer q, BigInteger r, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor) 668 this.cofactor = cofactor; 674 return new Fp(this.q, this.r, this.a, this.b, this.order, this.cofactor); 957 …return this.order != null && this.cofactor != null && this.b.isOne() && (this.a.isZero() || this.a… 1052 BigInteger cofactor) 1054 this(m, k, 0, 0, a, b, order, cofactor); [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | ECCurve.java | 98 protected BigInteger order, cofactor; field in ECCurve 361 return cofactor; in getCofactor() 643 public Fp(BigInteger q, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor) 654 this.cofactor = cofactor; 666 …Integer q, BigInteger r, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor) 677 this.cofactor = cofactor; 683 return new Fp(this.q, this.r, this.a, this.b, this.order, this.cofactor); 969 …return this.order != null && this.cofactor != null && this.b.isOne() && (this.a.isZero() || this.a… 1065 BigInteger cofactor) 1067 this(m, k, 0, 0, a, b, order, cofactor); [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECGroupContext.java | 149 final int cofactor = params.getCofactor(); in getInstance() local 155 y.toByteArray(), order.toByteArray(), cofactor); in getInstance() 191 final BigInteger cofactor = new BigInteger(NativeCrypto.EC_GROUP_get_cofactor(groupCtx)); in getECParameterSpec() local 193 ECParameterSpec spec = new ECParameterSpec(curve, generator, order, cofactor.intValue()); in getECParameterSpec()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLECGroupContext.java | 150 final int cofactor = params.getCofactor(); in getInstance() local 156 y.toByteArray(), order.toByteArray(), cofactor); in getInstance() 192 final BigInteger cofactor = new BigInteger(NativeCrypto.EC_GROUP_get_cofactor(groupCtx)); in getECParameterSpec() local 194 ECParameterSpec spec = new ECParameterSpec(curve, generator, order, cofactor.intValue()); in getECParameterSpec()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | X9Curve.java | 48 BigInteger cofactor, in X9Curve() argument 57 curve = new ECCurve.Fp(p, A, B, order, cofactor); in X9Curve() 91 curve = new ECCurve.F2m(m, k1, k2, k3, A, B, order, cofactor); in X9Curve()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/ |
D | X9Curve.java | 50 BigInteger cofactor, in X9Curve() argument 59 curve = new ECCurve.Fp(p, A, B, order, cofactor); in X9Curve() 93 curve = new ECCurve.F2m(m, k1, k2, k3, A, B, order, cofactor); in X9Curve()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 194 BigInteger cofactor = curve.getCofactor(); in verifySignature() local 195 if (cofactor != null && cofactor.compareTo(EIGHT) <= 0) in verifySignature()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/signers/ |
D | ECDSASigner.java | 196 BigInteger cofactor = curve.getCofactor(); in verifySignature() local 197 if (cofactor != null && cofactor.compareTo(EIGHT) <= 0) in verifySignature()
|
/external/boringssl/src/crypto/ec_extra/ |
D | ec_asn1.c | 267 CBS params, field_id, field_type, curve, base, cofactor; in parse_explicit_prime_curve() local 290 !CBS_get_optional_asn1(¶ms, &cofactor, &has_cofactor, in parse_explicit_prime_curve() 299 if (CBS_len(&cofactor) != 1 || in parse_explicit_prime_curve() 300 CBS_data(&cofactor)[0] != 1) { in parse_explicit_prime_curve()
|
/external/boringssl/src/include/openssl/ |
D | ec.h | 142 BIGNUM *cofactor, BN_CTX *ctx); 316 const BIGNUM *cofactor);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
D | SecP224K1Curve.java | 31 this.cofactor = BigInteger.valueOf(1); in SecP224K1Curve()
|
D | SecP521R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP521R1Curve()
|
D | SecP192K1Curve.java | 31 this.cofactor = BigInteger.valueOf(1); in SecP192K1Curve()
|
D | SecP256R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP256R1Curve()
|
D | SecP192R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP192R1Curve()
|
D | SecP256K1Curve.java | 31 this.cofactor = BigInteger.valueOf(1); in SecP256K1Curve()
|
D | SecP384R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP384R1Curve()
|
D | SecP224R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP224R1Curve()
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | ec.c | 342 const BIGNUM *order, const BIGNUM *cofactor) { in EC_GROUP_set_generator() argument 359 if (!BN_is_one(cofactor)) { in EC_GROUP_set_generator() 632 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, in EC_GROUP_get_cofactor() argument 635 return BN_set_word(cofactor, 1); in EC_GROUP_get_cofactor()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/custom/sec/ |
D | SecP256K1Curve.java | 35 this.cofactor = BigInteger.valueOf(1); in SecP256K1Curve()
|
D | SecP256R1Curve.java | 36 this.cofactor = BigInteger.valueOf(1); in SecP256R1Curve()
|
D | SecP224K1Curve.java | 35 this.cofactor = BigInteger.valueOf(1); in SecP224K1Curve()
|
D | SecP192K1Curve.java | 35 this.cofactor = BigInteger.valueOf(1); in SecP192K1Curve()
|
D | SecP192R1Curve.java | 36 this.cofactor = BigInteger.valueOf(1); in SecP192R1Curve()
|
D | SecP384R1Curve.java | 36 this.cofactor = BigInteger.valueOf(1); in SecP384R1Curve()
|