diff options
Diffstat (limited to 'core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java b/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java index ee2946fc..f02a882f 100644 --- a/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java +++ b/core/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java @@ -2,17 +2,15 @@ package org.bouncycastle.math.ec.endo; import java.math.BigInteger; -import org.bouncycastle.math.ec.ECFieldElement; - public class GLVTypeBParameters { - protected final ECFieldElement beta; + protected final BigInteger beta; protected final BigInteger lambda; protected final BigInteger[] v1, v2; protected final BigInteger g1, g2; protected final int bits; - public GLVTypeBParameters(ECFieldElement beta, BigInteger lambda, BigInteger[] v1, BigInteger[] v2, BigInteger g1, + public GLVTypeBParameters(BigInteger beta, BigInteger lambda, BigInteger[] v1, BigInteger[] v2, BigInteger g1, BigInteger g2, int bits) { this.beta = beta; @@ -24,7 +22,7 @@ public class GLVTypeBParameters this.bits = bits; } - public ECFieldElement getBeta() + public BigInteger getBeta() { return beta; } |