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.
|
Modifier and Type | Method and Description |
---|---|
Curve |
GroupElement.getCurve()
Gets the curve of the group element.
|
Modifier and Type | Method and 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, without pre-computation.
|
static GroupElement |
GroupElement.p3(Curve curve,
FieldElement X,
FieldElement Y,
FieldElement Z,
FieldElement T,
boolean precomputeDoubleOnly)
Creates a new group element in P3 representation, potentially with pre-computation.
|
static GroupElement |
GroupElement.precomp(Curve curve,
FieldElement ypx,
FieldElement ymx,
FieldElement xy2d)
Creates a new group element in PRECOMP representation.
|
Constructor and Description |
---|
GroupElement(Curve curve,
byte[] s)
Creates a group element for a curve from a given encoded point.
|
GroupElement(Curve curve,
byte[] s,
boolean precomputeSingleAndDouble)
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, without any pre-computation.
|
GroupElement(Curve curve,
GroupElement.Representation repr,
FieldElement X,
FieldElement Y,
FieldElement Z,
FieldElement T,
boolean precomputeDouble)
Creates a group element for a curve, with optional pre-computation.
|
Modifier and Type | Method and Description |
---|---|
Curve |
EdDSAParameterSpec.getCurve() |
Constructor and Description |
---|
EdDSANamedCurveSpec(String name,
Curve curve,
String hashAlgo,
ScalarOps sc,
GroupElement B) |
EdDSAParameterSpec(Curve curve,
String hashAlgo,
ScalarOps sc,
GroupElement B) |
Copyright © 2019. All rights reserved.