diff options
author | Kenny Root <kroot@google.com> | 2014-08-07 15:59:26 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-08-07 15:59:26 +0000 |
commit | 9c4a275f619a103c2cb54a7b117acfc19611a853 (patch) | |
tree | 6c876ccbb5560aa6f9b7d42eeae00495568e5bc4 /bcprov/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java | |
parent | c426488fcd51c16e8a54b256864d9530b1c64e87 (diff) | |
parent | e46fd72598d3efe6d22c689da50ec30e433cbb19 (diff) | |
download | android_external_bouncycastle-9c4a275f619a103c2cb54a7b117acfc19611a853.tar.gz android_external_bouncycastle-9c4a275f619a103c2cb54a7b117acfc19611a853.tar.bz2 android_external_bouncycastle-9c4a275f619a103c2cb54a7b117acfc19611a853.zip |
am e46fd725: Merge "Upgrade to 1.51"
* commit 'e46fd72598d3efe6d22c689da50ec30e433cbb19':
Upgrade to 1.51
Diffstat (limited to 'bcprov/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java')
-rw-r--r-- | bcprov/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/bcprov/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java b/bcprov/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java new file mode 100644 index 0000000..f02a882 --- /dev/null +++ b/bcprov/src/main/java/org/bouncycastle/math/ec/endo/GLVTypeBParameters.java @@ -0,0 +1,59 @@ +package org.bouncycastle.math.ec.endo; + +import java.math.BigInteger; + +public class GLVTypeBParameters +{ + protected final BigInteger beta; + protected final BigInteger lambda; + protected final BigInteger[] v1, v2; + protected final BigInteger g1, g2; + protected final int bits; + + public GLVTypeBParameters(BigInteger beta, BigInteger lambda, BigInteger[] v1, BigInteger[] v2, BigInteger g1, + BigInteger g2, int bits) + { + this.beta = beta; + this.lambda = lambda; + this.v1 = v1; + this.v2 = v2; + this.g1 = g1; + this.g2 = g2; + this.bits = bits; + } + + public BigInteger getBeta() + { + return beta; + } + + public BigInteger getLambda() + { + return lambda; + } + + public BigInteger[] getV1() + { + return v1; + } + + public BigInteger[] getV2() + { + return v2; + } + + public BigInteger getG1() + { + return g1; + } + + public BigInteger getG2() + { + return g2; + } + + public int getBits() + { + return bits; + } +} |