ECEndomorphism
, GLVEndomorphism
public class GLVTypeBEndomorphism extends java.lang.Object implements GLVEndomorphism
Modifier and Type | Field | Description |
---|---|---|
protected ECCurve |
curve |
|
protected GLVTypeBParameters |
parameters |
|
protected ECPointMap |
pointMap |
Constructor | Description |
---|---|
GLVTypeBEndomorphism(ECCurve curve,
GLVTypeBParameters parameters) |
Modifier and Type | Method | Description |
---|---|---|
protected java.math.BigInteger |
calculateB(java.math.BigInteger k,
java.math.BigInteger g,
int t) |
|
java.math.BigInteger[] |
decomposeScalar(java.math.BigInteger k) |
|
ECPointMap |
getPointMap() |
|
boolean |
hasEfficientPointMap() |
protected final ECCurve curve
protected final GLVTypeBParameters parameters
protected final ECPointMap pointMap
public GLVTypeBEndomorphism(ECCurve curve, GLVTypeBParameters parameters)
public java.math.BigInteger[] decomposeScalar(java.math.BigInteger k)
decomposeScalar
in interface GLVEndomorphism
public ECPointMap getPointMap()
getPointMap
in interface ECEndomorphism
public boolean hasEfficientPointMap()
hasEfficientPointMap
in interface ECEndomorphism
protected java.math.BigInteger calculateB(java.math.BigInteger k, java.math.BigInteger g, int t)