ECPoint.F2m, ECPoint.Fp
multiplier, preCompInfo, withCompression
Constructor and Description |
---|
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y) |
F2m(ECCurve curve,
ECFieldElement x,
ECFieldElement y,
boolean withCompression) |
Modifier and Type | Method and Description |
---|---|
ECPoint |
add(ECPoint b) |
ECPoint.F2m |
addSimple(ECPoint.F2m b)
Adds another
ECPoints.F2m to this without
checking if both points are on the same curve. |
byte[] |
getEncoded() |
ECPoint |
negate() |
ECPoint |
subtract(ECPoint b) |
ECPoint.F2m |
subtractSimple(ECPoint.F2m b)
Subtracts another
ECPoints.F2m from this
without checking if both points are on the same curve. |
ECPoint |
twice() |
equals, getCurve, getX, getY, hashCode, isCompressed, isInfinity, multiply
public F2m(ECCurve curve, ECFieldElement x, ECFieldElement y)
curve
- base curvex
- x pointy
- y pointpublic F2m(ECCurve curve, ECFieldElement x, ECFieldElement y, boolean withCompression)
curve
- base curvex
- x pointy
- y pointwithCompression
- true if encode with point compression.public byte[] getEncoded()
getEncoded
in class ECPoint
public ECPoint.F2m addSimple(ECPoint.F2m b)
ECPoints.F2m
to this
without
checking if both points are on the same curve. Used by multiplication
algorithms, because there all points are a multiple of the same point
and hence the checks can be omitted.b
- The other ECPoints.F2m
to add to
this
.this + b
public ECPoint.F2m subtractSimple(ECPoint.F2m b)
ECPoints.F2m
from this
without checking if both points are on the same curve. Used by
multiplication algorithms, because there all points are a multiple
of the same point and hence the checks can be omitted.b
- The other ECPoints.F2m
to subtract from
this
.this - b
Copyright © 2015. All rights reserved.