Package 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 Object implements GLVEndomorphism
-
-
Field Summary
Fields Modifier and Type Field Description protected ECCurvecurveprotected GLVTypeBParametersparametersprotected ECPointMappointMap
-
Constructor Summary
Constructors Constructor Description GLVTypeBEndomorphism(ECCurve curve, GLVTypeBParameters parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BigIntegercalculateB(BigInteger k, BigInteger g, int t)BigInteger[]decomposeScalar(BigInteger k)ECPointMapgetPointMap()booleanhasEfficientPointMap()
-
-
-
Field Detail
-
curve
protected final ECCurve curve
-
parameters
protected final GLVTypeBParameters parameters
-
pointMap
protected final ECPointMap pointMap
-
-
Constructor Detail
-
GLVTypeBEndomorphism
public GLVTypeBEndomorphism(ECCurve curve, GLVTypeBParameters parameters)
-
-
Method Detail
-
decomposeScalar
public BigInteger[] decomposeScalar(BigInteger k)
- Specified by:
decomposeScalarin interfaceGLVEndomorphism
-
getPointMap
public ECPointMap getPointMap()
- Specified by:
getPointMapin interfaceECEndomorphism
-
hasEfficientPointMap
public boolean hasEfficientPointMap()
- Specified by:
hasEfficientPointMapin interfaceECEndomorphism
-
calculateB
protected BigInteger calculateB(BigInteger k, BigInteger g, int t)
-
-