public abstract class BarretoNaehrigSourceGroupElementImpl extends PairingSourceGroupElement
| Constructor and Description |
|---|
BarretoNaehrigSourceGroupElementImpl(BarretoNaehrigSourceGroupImpl curve) |
BarretoNaehrigSourceGroupElementImpl(BarretoNaehrigSourceGroupImpl curve,
FieldElement x,
FieldElement y) |
| Modifier and Type | Method and Description |
|---|---|
int |
compressX()
Compresses the point to an integer.
|
BarretoNaehrigSourceGroupElementImpl |
pow(java.math.BigInteger e)
Calculates the result of applying the group operation k times.
|
add, computeLine, equals, inv, isNormalized, normalize, updateAccumulatorgetFieldOfDefinition, getRepresentation, getStructure, getX, getY, getZ, hashCode, isNeutralElement, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitopsquaregetUniqueByteRepresentationpublic BarretoNaehrigSourceGroupElementImpl(BarretoNaehrigSourceGroupImpl curve, FieldElement x, FieldElement y)
public BarretoNaehrigSourceGroupElementImpl(BarretoNaehrigSourceGroupImpl curve)
public BarretoNaehrigSourceGroupElementImpl pow(java.math.BigInteger e)
GroupElementImplpublic int compressX()
Compress point (x,y) by mapping x to an integer i in {0,1,2} such that
this.getStructure().mapToPoint(y,this.compress(x,y)).equals(this).
Hence (y,i) is a compression of (x,y) of approximately half size.