/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/epid-sdk/epid/common/src/ |
D | epid2params.c | 331 BigNum* cofactor = NULL; in NewG1() local 388 result = NewBigNum(sizeof(BigNumStr), &cofactor); in NewG1() 393 result = ReadBigNum(&h1, sizeof(h1), cofactor); in NewG1() 397 result = NewEcGroup(Fq, fq_a, fq_b, g1_x, g1_y, order, cofactor, &ec); in NewG1() 405 DeleteBigNum(&cofactor); in NewG1() 424 BigNum* cofactor = NULL; in NewG2() local 476 result = NewBigNum(2 * sizeof(param->q), &cofactor); in NewG2() 480 result = BigNumAdd(q, q, cofactor); in NewG2() 484 result = BigNumSub(cofactor, p, cofactor); in NewG2() 493 result = BigNumMul(p, cofactor, order); in NewG2() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLECGroupContext.java | 136 final int cofactor = params.getCofactor(); in getInstance() local 142 y.toByteArray(), order.toByteArray(), cofactor); in getInstance() 174 final BigInteger cofactor = new BigInteger(NativeCrypto.EC_GROUP_get_cofactor(groupCtx)); in getECParameterSpec() local 176 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 | 137 final int cofactor = params.getCofactor(); in getInstance() local 143 y.toByteArray(), order.toByteArray(), cofactor); in getInstance() 175 final BigInteger cofactor = new BigInteger(NativeCrypto.EC_GROUP_get_cofactor(groupCtx)); in getECParameterSpec() local 177 ECParameterSpec spec = new ECParameterSpec(curve, generator, order, cofactor.intValue()); in getECParameterSpec()
|
/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpeccpset.c | 102 const IppsBigNumState* pOrder, int cofactor, 139 IPP_BADARG_RET(!(0<cofactor), ippStsRangeErr); 148 (BNU_CHUNK_T)cofactor,
|
D | pcpeccpget.c | 100 IppsBigNumState* pOrder, int* cofactor, 143 IPP_BAD_PTR1_RET(cofactor); 167 *cofactor = (int)ECP_COFACTOR(pEC)[0];
|
D | pcpgfpecstuff.h | 134 BNU_CHUNK_T* cofactor; /* cofactor = #E/base_point order */ member 162 #define ECP_COFACTOR(pCtx) ((pCtx)->cofactor)
|
/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/epid-sdk/epid/common-testhelper/ |
D | ecgroup_wrapper-testhelper.cc | 106 BigNum const* cofactor) in EcGroupObj() argument 109 NewEcGroup(*ff, a, b, x, y, order, cofactor, &temp); in EcGroupObj()
|
D | ecgroup_wrapper-testhelper.h | 49 BigNum const* cofactor);
|
/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/include/openssl/ |
D | ec.h | 142 BIGNUM *cofactor, BN_CTX *ctx); 316 const BIGNUM *cofactor);
|
/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/epid-sdk/epid/common/math/ |
D | ecgroup.h | 83 BigNum const* cofactor, EcGroup** g);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/ |
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 | SecP521R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP521R1Curve()
|
D | SecP192K1Curve.java | 31 this.cofactor = BigInteger.valueOf(1); in SecP192K1Curve()
|
D | SecP384R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP384R1Curve()
|
D | SecP224R1Curve.java | 32 this.cofactor = BigInteger.valueOf(1); in SecP224R1Curve()
|
D | SecP224K1Curve.java | 31 this.cofactor = BigInteger.valueOf(1); in SecP224K1Curve()
|