Package | Description |
---|---|
org.mariadb.jdbc.internal.com.send.authentication.ed25519.math | |
org.mariadb.jdbc.internal.com.send.authentication.ed25519.spec |
Modifier and Type | Field and Description |
---|---|
(package private) GroupElement[] |
GroupElement.dblPrecmp
Precomputed table for
doubleScalarMultiplyVariableTime(org.mariadb.jdbc.internal.com.send.authentication.ed25519.math.GroupElement,
byte[], byte[]) , filled if necessary. |
(package private) GroupElement[][] |
GroupElement.precmp
Precomputed table for
scalarMultiply(byte[]) , filled if necessary. |
private GroupElement |
Curve.zeroP2 |
private GroupElement |
Curve.zeroP3 |
private GroupElement |
Curve.zeroPrecomp |
Modifier and Type | Method and Description |
---|---|
GroupElement |
GroupElement.add(GroupElement q)
GroupElement addition using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
static GroupElement |
GroupElement.cached(Curve curve,
FieldElement YpX,
FieldElement YmX,
FieldElement Z,
FieldElement T2d)
Creates a new group element in CACHED representation.
|
(package private) GroupElement |
GroupElement.cmov(GroupElement u,
int b)
Constant-time conditional move.
|
GroupElement |
Curve.createPoint(byte[] P,
boolean precompute) |
GroupElement |
GroupElement.dbl()
Doubles a given group element $p$ in $P^2$ or $P^3$ representation and returns the result in $P
\times P$ representation.
|
GroupElement |
GroupElement.doubleScalarMultiplyVariableTime(GroupElement A,
byte[] a,
byte[] b)
$r = a * A + b * B$ where $a = a[0]+256*a[1]+\dots+256^{31} a[31]$, $b =
b[0]+256*b[1]+\dots+256^{31} b[31]$ and $B$ is this point.
|
GroupElement |
Curve.getZero(GroupElement.Representation repr) |
private GroupElement |
GroupElement.madd(GroupElement q)
GroupElement addition using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
private GroupElement |
GroupElement.msub(GroupElement q)
GroupElement subtraction using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
GroupElement |
GroupElement.negate()
Negates this group element by subtracting it from the neutral group element.
|
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.
|
GroupElement |
GroupElement.scalarMultiply(byte[] a)
$h = a * B$ where $a = a[0]+256*a[1]+\dots+256^{31} a[31]$ and $B$ is this point.
|
(package private) GroupElement |
GroupElement.select(int pos,
int b)
Look up $16^i r_i B$ in the precomputed table.
|
GroupElement |
GroupElement.sub(GroupElement q)
GroupElement subtraction using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
GroupElement |
GroupElement.toCached()
Converts the group element to the CACHED representation.
|
GroupElement |
GroupElement.toP2()
Converts the group element to the P2 representation.
|
GroupElement |
GroupElement.toP3()
Converts the group element to the P3 representation.
|
private GroupElement |
GroupElement.toRep(GroupElement.Representation repr)
Convert a GroupElement from one Representation to another.
|
Modifier and Type | Method and Description |
---|---|
GroupElement |
GroupElement.add(GroupElement q)
GroupElement addition using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
(package private) GroupElement |
GroupElement.cmov(GroupElement u,
int b)
Constant-time conditional move.
|
GroupElement |
GroupElement.doubleScalarMultiplyVariableTime(GroupElement A,
byte[] a,
byte[] b)
$r = a * A + b * B$ where $a = a[0]+256*a[1]+\dots+256^{31} a[31]$, $b =
b[0]+256*b[1]+\dots+256^{31} b[31]$ and $B$ is this point.
|
private GroupElement |
GroupElement.madd(GroupElement q)
GroupElement addition using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
private GroupElement |
GroupElement.msub(GroupElement q)
GroupElement subtraction using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
GroupElement |
GroupElement.sub(GroupElement q)
GroupElement subtraction using the twisted Edwards addition law with extended coordinates
(Hisil2008).
|
Modifier and Type | Field and Description |
---|---|
private GroupElement |
EdDSAParameterSpec.B |
Modifier and Type | Method and Description |
---|---|
GroupElement |
EdDSAParameterSpec.getB() |
Constructor and Description |
---|
EdDSANamedCurveSpec(java.lang.String name,
Curve curve,
java.lang.String hashAlgo,
ScalarOps sc,
GroupElement B) |
EdDSAParameterSpec(Curve curve,
java.lang.String hashAlgo,
ScalarOps sc,
GroupElement B) |