Home
last modified time | relevance | path

Searched refs:endomorphism (Results 1 – 2 of 2) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECCurve.java37 protected ECEndomorphism endomorphism; field in ECCurve.Config
40 Config(int coord, ECEndomorphism endomorphism, ECMultiplier multiplier) in Config() argument
43 this.endomorphism = endomorphism; in Config()
53 public Config setEndomorphism(ECEndomorphism endomorphism) in setEndomorphism() argument
55 this.endomorphism = endomorphism; in setEndomorphism()
82 c.endomorphism = endomorphism; in create()
95 protected ECEndomorphism endomorphism = null; field in ECCurve
111 return new Config(this.coord, this.endomorphism, this.multiplier); in configure()
160 if (endomorphism instanceof GLVEndomorphism) in createDefaultMultiplier()
162 return new GLVMultiplier(this, (GLVEndomorphism)endomorphism); in createDefaultMultiplier()
[all …]
DECAlgorithms.java61 ECEndomorphism endomorphism = c.getEndomorphism(); in sumOfMultiplies() local
62 if (endomorphism instanceof GLVEndomorphism) in sumOfMultiplies()
64 … return validatePoint(implSumOfMultipliesGLV(imported, ks, (GLVEndomorphism)endomorphism)); in sumOfMultiplies()
86 ECEndomorphism endomorphism = cp.getEndomorphism(); in sumOfTwoMultiplies() local
87 if (endomorphism instanceof GLVEndomorphism) in sumOfTwoMultiplies()
90 …umOfMultipliesGLV(new ECPoint[]{ P, Q }, new BigInteger[]{ a, b }, (GLVEndomorphism)endomorphism)); in sumOfTwoMultiplies()