Package | Description |
---|---|
net.i2p.crypto.eddsa.math |
Data structures that definie curves and fields, and
the mathematical operaions on them.
|
net.i2p.crypto.eddsa.spec |
Specifications for curves and keys, and a table for named curves,
initially containing only the 25519 curve "ed25519-sha-512".
|
Modifier and Type | Field | Description |
---|---|---|
(package private) Curve |
GroupElement.curve |
Variable is package private only so that tests run.
|
Modifier and Type | Method | Description |
---|---|---|
Curve |
GroupElement.getCurve() |
Gets the curve of the group element.
|
Modifier and Type | Method | Description |
---|---|---|
static GroupElement |
GroupElement.cached(Curve curve,
FieldElement YpX,
FieldElement YmX,
FieldElement Z,
FieldElement T2d) |
Creates a new group element in CACHED representation.
|
boolean |
GroupElement.isOnCurve(Curve curve) |
Verify that a point is on the curve.
|
static GroupElement |
GroupElement.p1p1(Curve curve,
FieldElement X,
FieldElement Y,
FieldElement Z,
FieldElement T) |
Creates a new group element in P1P1 representation.
|
static GroupElement |
GroupElement.p2(Curve curve,
FieldElement X,
FieldElement Y,
FieldElement Z) |
Creates a new group element in P2 representation.
|
static GroupElement |
GroupElement.p3(Curve curve,
FieldElement X,
FieldElement Y,
FieldElement Z,
FieldElement T) |
Creates a new group element in P3 representation.
|
static GroupElement |
GroupElement.precomp(Curve curve,
FieldElement ypx,
FieldElement ymx,
FieldElement xy2d) |
Creates a new group element in PRECOMP representation.
|
Constructor | Description |
---|---|
GroupElement(Curve curve,
byte[] s) |
Creates a group element for a curve from a given encoded point.
|
GroupElement(Curve curve,
GroupElement.Representation repr,
FieldElement X,
FieldElement Y,
FieldElement Z,
FieldElement T) |
Creates a group element for a curve.
|
Modifier and Type | Method | Description |
---|---|---|
Curve |
EdDSAParameterSpec.getCurve() |
Constructor | Description |
---|---|
EdDSANamedCurveSpec(String name,
Curve curve,
String hashAlgo,
ScalarOps sc,
GroupElement B) |
|
EdDSAParameterSpec(Curve curve,
String hashAlgo,
ScalarOps sc,
GroupElement B) |