blob: ee2946fce673623f02edd5594b6b9a45843c905d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
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 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,
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 ECFieldElement 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;
}
}
|