org.bouncycastle.math.ec.endo
Class GLVTypeBEndomorphism
java.lang.Object
org.bouncycastle.math.ec.endo.GLVTypeBEndomorphism
- All Implemented Interfaces:
- ECEndomorphism, GLVEndomorphism
public class GLVTypeBEndomorphism
- extends java.lang.Object
- implements GLVEndomorphism
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
curve
protected final ECCurve curve
parameters
protected final GLVTypeBParameters parameters
pointMap
protected final ECPointMap pointMap
GLVTypeBEndomorphism
public GLVTypeBEndomorphism(ECCurve curve,
GLVTypeBParameters parameters)
decomposeScalar
public java.math.BigInteger[] decomposeScalar(java.math.BigInteger k)
- Specified by:
decomposeScalar
in interface GLVEndomorphism
getPointMap
public ECPointMap getPointMap()
- Specified by:
getPointMap
in interface ECEndomorphism
hasEfficientPointMap
public boolean hasEfficientPointMap()
- Specified by:
hasEfficientPointMap
in interface ECEndomorphism
calculateB
protected java.math.BigInteger calculateB(java.math.BigInteger k,
java.math.BigInteger g,
int t)