Uses of Class
org.mariadb.jdbc.plugin.authentication.standard.ed25519.math.FieldElement
-
Packages that use FieldElement Package Description org.mariadb.jdbc.plugin.authentication.standard.ed25519.math org.mariadb.jdbc.plugin.authentication.standard.ed25519.math.ed25519 -
-
Uses of FieldElement in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math
Fields in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math declared as FieldElement Modifier and Type Field Description private FieldElementCurve. dprivate FieldElementCurve. d2FieldElementField. EIGHTFieldElementField. FIVEFieldElementField. FOURprivate FieldElementCurve. IFieldElementField. ONEprivate FieldElementField. qprivate FieldElementField. qm2q-2private FieldElementField. qm5d8(q-5) / 8(package private) FieldElementGroupElement. TVariable is package private only so that tests run.FieldElementField. TWO(package private) FieldElementGroupElement. XVariable is package private only so that tests run.(package private) FieldElementGroupElement. YVariable is package private only so that tests run.(package private) FieldElementGroupElement. ZVariable is package private only so that tests run.FieldElementField. ZEROMethods in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math that return FieldElement Modifier and Type Method Description abstract FieldElementFieldElement. add(FieldElement val)FieldElementFieldElement. addOne()abstract FieldElementFieldElement. cmov(FieldElement val, int b)abstract FieldElementEncoding. decode(byte[] in)Decode a FieldElement from its $(b-1)$-bit encoding.FieldElementFieldElement. divide(FieldElement val)FieldElementField. fromByteArray(byte[] x)FieldElementCurve. get2D()FieldElementCurve. getD()FieldElementCurve. getI()FieldElementField. getQ()FieldElementField. getQm2()FieldElementField. getQm5d8()FieldElementGroupElement. getT()Gets the $T$ value of the group element.FieldElementGroupElement. getX()Gets the $X$ value of the group element.FieldElementGroupElement. getY()Gets the $Y$ value of the group element.FieldElementGroupElement. getZ()Gets the $Z$ value of the group element.abstract FieldElementFieldElement. invert()abstract FieldElementFieldElement. multiply(FieldElement val)abstract FieldElementFieldElement. negate()abstract FieldElementFieldElement. pow22523()abstract FieldElementFieldElement. square()abstract FieldElementFieldElement. squareAndDouble()abstract FieldElementFieldElement. subtract(FieldElement val)FieldElementFieldElement. subtractOne()Methods in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math with parameters of type FieldElement Modifier and Type Method Description abstract FieldElementFieldElement. add(FieldElement val)static GroupElementGroupElement. cached(Curve curve, FieldElement YpX, FieldElement YmX, FieldElement Z, FieldElement T2d)Creates a new group element in CACHED representation.abstract FieldElementFieldElement. cmov(FieldElement val, int b)FieldElementFieldElement. divide(FieldElement val)abstract byte[]Encoding. encode(FieldElement x)Encode a FieldElement in its $(b-1)$-bit encoding.abstract booleanEncoding. isNegative(FieldElement x)From the Ed25519 paper:
$x$ is negative if the $(b-1)$-bit encoding of $x$ is lexicographically larger than the $(b-1)$-bit encoding of -x.abstract FieldElementFieldElement. multiply(FieldElement val)static GroupElementGroupElement. p1p1(Curve curve, FieldElement X, FieldElement Y, FieldElement Z, FieldElement T)Creates a new group element in P1P1 representation.static GroupElementGroupElement. p2(Curve curve, FieldElement X, FieldElement Y, FieldElement Z)Creates a new group element in P2 representation.static GroupElementGroupElement. p3(Curve curve, FieldElement X, FieldElement Y, FieldElement Z, FieldElement T)Creates a new group element in P3 representation, without pre-computation.static GroupElementGroupElement. 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 GroupElementGroupElement. precomp(Curve curve, FieldElement ypx, FieldElement ymx, FieldElement xy2d)Creates a new group element in PRECOMP representation.abstract FieldElementFieldElement. subtract(FieldElement val)Constructors in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math with parameters of type FieldElement Constructor Description Curve(Field f, byte[] d, FieldElement I)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. -
Uses of FieldElement in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math.ed25519
Subclasses of FieldElement in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math.ed25519 Modifier and Type Class Description classEd25519FieldElementClass to represent a field element of the finite field $p = 2^{255} - 19$ elements.Methods in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math.ed25519 that return FieldElement Modifier and Type Method Description FieldElementEd25519FieldElement. add(FieldElement val)$h = f + g$FieldElementEd25519FieldElement. cmov(FieldElement val, int b)Constant-time conditional move.FieldElementEd25519LittleEndianEncoding. decode(byte[] in)Decodes a given field element in its 10 byte $2^{25.5}$ representation.FieldElementEd25519FieldElement. invert()Invert this field element.FieldElementEd25519FieldElement. multiply(FieldElement val)$h = f * g$FieldElementEd25519FieldElement. negate()$h = -f$FieldElementEd25519FieldElement. pow22523()Gets this field element to the power of $(2^{252} - 3)$.FieldElementEd25519FieldElement. square()$h = f * f$FieldElementEd25519FieldElement. squareAndDouble()$h = 2 * f * f$FieldElementEd25519FieldElement. subtract(FieldElement val)$h = f - g$Methods in org.mariadb.jdbc.plugin.authentication.standard.ed25519.math.ed25519 with parameters of type FieldElement Modifier and Type Method Description FieldElementEd25519FieldElement. add(FieldElement val)$h = f + g$FieldElementEd25519FieldElement. cmov(FieldElement val, int b)Constant-time conditional move.byte[]Ed25519LittleEndianEncoding. encode(FieldElement x)Encodes a given field element in its 32 byte representation.booleanEd25519LittleEndianEncoding. isNegative(FieldElement x)Is the FieldElement negative in this encoding?FieldElementEd25519FieldElement. multiply(FieldElement val)$h = f * g$FieldElementEd25519FieldElement. subtract(FieldElement val)$h = f - g$
-