Package | Description |
---|---|
iaik.security.ec.common | |
iaik.security.ec.math.curve |
Modifier and Type | Method and Description |
---|---|
ECPoint |
EllipticCurve.toIAIKECPoint(ECPoint p)
Converts a JDK ECPoint object into an IAIK ECPoint.
|
Modifier and Type | Method and Description |
---|---|
ECPoint |
PrimeCurveBenchmark.addPoint() |
ECPoint |
ECPoint.addPoint(ECPoint b)
Computes
this += b . |
abstract ECPoint |
EllipticCurve.addPoint(ECPoint a,
ECPoint b)
Computes
a += b . |
abstract ECPoint |
Pairing.applyIsomorphism(ECPoint p)
Applies the isomorphism from curve 2 to curve 1, which is available for
Type-2 pairings.
|
ECPoint |
ECPoint.clone() |
ECPoint |
EllipticCurve.decodePoint(byte[] encodedPoint)
Decodes an encoded point.
|
abstract ECPoint |
EllipticCurve.decodePoint(byte[] encodedPoint,
int length)
Decodes an encoded point.
|
ECPoint |
PrimeCurveBenchmark.doublePoint() |
ECPoint |
ECPoint.doublePoint()
Computes
this *= 2 . |
abstract ECPoint |
EllipticCurve.doublePoint(ECPoint a)
Computes
a *= 2 . |
ECPoint |
EllipticCurve.getGenerator()
Returns the generator of the elliptic curve (sub-)group.
|
ECPoint |
EllipticCurve.getNeutralPoint()
Returns the curve's neutral element.
|
abstract ECPoint |
EllipticCurve.getPoint(GenericFieldElement x)
Returns a point on the curve corresponding to
x , if
x is a valid x-coordinate. |
abstract ECPoint |
EllipticCurve.getPoint(GenericFieldElement x,
int yBit)
Returns a point on the curve corresponding to
x and
yBit (which uniquely determines the y-coordinate), if
x is a valid x-coordinate. |
ECPoint |
EllipticCurve.hashToPoint(byte[] message)
Hash
message to a point on a curve. |
ECPoint |
EllipticCurve.hashToPoint(String message)
Hash
message to a point on a curve. |
ECPoint |
PrimeCurveBenchmark.mixedAddPoint() |
ECPoint |
ECPoint.mixedAddPoint(ECPoint b)
Computes
this += b , where b is either scaled or
given in affine coordinates. |
abstract ECPoint |
EllipticCurve.mixedAddPoint(ECPoint a,
ECPoint b)
Computes
a += b , where b is scaled. |
ECPoint |
ECPoint.mixedSubtractPoint(ECPoint b)
Computes
this -= b , where b is either scaled or
given in affine coordinates. |
ECPoint |
EllipticCurve.mixedSubtractPoint(ECPoint a,
ECPoint b)
Computes
a -= b , where b is scaled. |
ECPoint |
PrimeCurveMultiplicationBenchmark.multiplyPoint() |
ECPoint |
BinaryCurveMultiplicationBenchmark.multiplyPoint() |
ECPoint |
ECPoint.multiplyPoint(BigInteger k)
Computes
this *= k . |
ECPoint |
EllipticCurve.multiplyPoint(ECPoint a,
BigInteger k)
Scalar multiplication of a point and an integer
a *= k . |
ECPoint |
PrimeCurvePrecomputedMultiplicationBenchmark.multiplyPrecomputedPoint() |
ECPoint |
BinaryCurvePrecomputedMultiplicationBenchmark.multiplyPrecomputedPoint() |
ECPoint |
EllipticCurve.multiplyPrecomputedPoint(BigInteger k)
Scalar multiplication of the point
a set for precomputation
and an integer a *= k using precomputation. |
ECPoint |
EllipticCurve.multiplySimultaneously(BigInteger[] scalars,
ECPoint[] points)
This method multiplies multiple points simultaneously.
|
ECPoint |
EllipticCurve.multiplySimultaneously(ECPoint a,
BigInteger k,
ECPoint b,
BigInteger l)
This method multiplies two points simultaneously.
|
ECPoint |
EllipticCurve.multiplySimultaneouslyWithPrecomputedPoint(BigInteger k,
ECPoint b,
BigInteger l)
This method multiplies two points simultaneously.
|
ECPoint |
ECPoint.negatePoint()
Negates this point, i.e.
|
abstract ECPoint |
EllipticCurve.negatePoint(ECPoint a)
Negates the specified point on the curve.
|
ECPoint |
EllipticCurve.newPoint(ECPoint p)
Creates an ECPoint from a JDK ECPoint that is associated with this curve.
|
abstract ECPoint |
EllipticCurve.newPoint(GenericFieldElement x,
GenericFieldElement y)
Returns a point on the curve corresponding to
(x,y) , if
(x,y) is a point on the curve. |
ECPoint |
PrimeCurveBenchmark.scaledAddPoint() |
abstract ECPoint |
EllipticCurve.scaledAddPoint(ECPoint a,
ECPoint b)
Computes
a += b , where a and b are
both scaled. |
ECPoint |
PrimeCurveBenchmark.scaledDoublePoint() |
abstract ECPoint |
EllipticCurve.scaledDoublePoint(ECPoint a)
Computes
a *= 2 , where a is scaled. |
ECPoint |
EllipticCurve.scaledSubtractPoint(ECPoint a,
ECPoint b)
Computes
a -= b , where a and b are
both scaled. |
ECPoint |
ECPoint.scalePoint()
Scales
this , i.e. |
abstract ECPoint |
EllipticCurve.scalePoint(ECPoint a)
Scales the specified point, i.e.
|
ECPoint[] |
EllipticCurve.scalePoints(ECPoint[] points)
Simultaneously scales the specified points, i.e.
|
ECPoint |
ECPoint.setNeutralPoint()
Sets
this to the neutral element. |
ECPoint |
ECPoint.subtractPoint(ECPoint b)
Computes
this -= b . |
ECPoint |
EllipticCurve.subtractPoint(ECPoint a,
ECPoint b)
Computes
a -= b . |
Modifier and Type | Method and Description |
---|---|
ECPoint |
ECPoint.addPoint(ECPoint b)
Computes
this += b . |
abstract ECPoint |
EllipticCurve.addPoint(ECPoint a,
ECPoint b)
Computes
a += b . |
abstract ECPoint |
Pairing.applyIsomorphism(ECPoint p)
Applies the isomorphism from curve 2 to curve 1, which is available for
Type-2 pairings.
|
abstract ECPoint |
EllipticCurve.doublePoint(ECPoint a)
Computes
a *= 2 . |
byte[] |
EllipticCurve.encodePoint(ECPoint p)
Encodes a point, i.e.
|
abstract byte[] |
EllipticCurve.encodePoint(ECPoint p,
PointEncoders encoder)
Encodes a point, i.e.
|
abstract boolean |
EllipticCurve.isNeutralPoint(ECPoint p)
Returns
true , iff p is the neutral element. |
ECPoint |
ECPoint.mixedAddPoint(ECPoint b)
Computes
this += b , where b is either scaled or
given in affine coordinates. |
abstract ECPoint |
EllipticCurve.mixedAddPoint(ECPoint a,
ECPoint b)
Computes
a += b , where b is scaled. |
ECPoint |
ECPoint.mixedSubtractPoint(ECPoint b)
Computes
this -= b , where b is either scaled or
given in affine coordinates. |
ECPoint |
EllipticCurve.mixedSubtractPoint(ECPoint a,
ECPoint b)
Computes
a -= b , where b is scaled. |
ECPoint |
EllipticCurve.multiplyPoint(ECPoint a,
BigInteger k)
Scalar multiplication of a point and an integer
a *= k . |
ECPoint |
EllipticCurve.multiplySimultaneously(BigInteger[] scalars,
ECPoint[] points)
This method multiplies multiple points simultaneously.
|
ECPoint |
EllipticCurve.multiplySimultaneously(ECPoint a,
BigInteger k,
ECPoint b,
BigInteger l)
This method multiplies two points simultaneously.
|
ECPoint |
EllipticCurve.multiplySimultaneouslyWithPrecomputedPoint(BigInteger k,
ECPoint b,
BigInteger l)
This method multiplies two points simultaneously.
|
abstract ECPoint |
EllipticCurve.negatePoint(ECPoint a)
Negates the specified point on the curve.
|
ExtensionFieldElement[] |
Pairing.pair(ECPoint[] p,
ECPoint q)
Evaluate the pairings of multiple points
p and q . |
ExtensionFieldElement[] |
Pairing.pair(ECPoint[] p,
ECPoint q)
Evaluate the pairings of multiple points
p and q . |
abstract ExtensionFieldElement |
Pairing.pair(ECPoint p,
ECPoint q)
Evaluate the pairing at the points
p and q . |
ExtensionFieldElement[] |
Pairing.pair(ECPoint p,
ECPoint[] q)
Evaluate the pairings of
p and and multiple points
q . |
ExtensionFieldElement[] |
Pairing.pair(ECPoint p,
ECPoint[] q)
Evaluate the pairings of
p and and multiple points
q . |
ExtensionFieldElement |
Pairing.pairProduct(ECPoint[] p,
ECPoint[] q)
Computes the product of all pairings
e(p[i], q[i]) . |
ExtensionFieldElement |
Pairing.pairProduct(ECPoint[] p,
ECPoint[] q)
Computes the product of all pairings
e(p[i], q[i]) . |
void |
EllipticCurve.precompute(ECPoint a)
Computes the precomputation data for point
a and stores it
internally. |
void |
ECDSAMultiplySimultaneouslyAndCompareHelper.precomputeFirstPoint(ECPoint q)
Compute precomputation data for the first base point.
|
void |
ECDSAMultiplySimultaneouslyAndCompareHelper.precomputeSecondPoint(ECPoint q)
Compute precomputation data for the second base point.
|
abstract ECPoint |
EllipticCurve.scaledAddPoint(ECPoint a,
ECPoint b)
Computes
a += b , where a and b are
both scaled. |
abstract ECPoint |
EllipticCurve.scaledDoublePoint(ECPoint a)
Computes
a *= 2 , where a is scaled. |
ECPoint |
EllipticCurve.scaledSubtractPoint(ECPoint a,
ECPoint b)
Computes
a -= b , where a and b are
both scaled. |
abstract ECPoint |
EllipticCurve.scalePoint(ECPoint a)
Scales the specified point, i.e.
|
ECPoint[] |
EllipticCurve.scalePoints(ECPoint[] points)
Simultaneously scales the specified points, i.e.
|
ECPoint |
ECPoint.subtractPoint(ECPoint b)
Computes
this -= b . |
ECPoint |
EllipticCurve.subtractPoint(ECPoint a,
ECPoint b)
Computes
a -= b . |
Copyright © 2011–2022 Stiftung SIC. All rights reserved.