Packages that use Curve
Package
Description
Data structures that define curves and fields, and the mathematical operations on them.
Specifications and parameter tables for EdDSA elliptic curves and keys, including the Ed25519 (Curve25519) specification and the named-curve registry.
The Double Ratchet with X25519 key agreement and ECIES hybrid encryption, used by the NTCP2 and SSU transports for session encryption.
Uses of Curve in net.i2p.crypto.eddsa.math
Fields in net.i2p.crypto.eddsa.math declared as CurveModifier and TypeFieldDescription(package private) final CurveGroupElement.curveVariable is package private only so that tests run.Methods in net.i2p.crypto.eddsa.math that return CurveMethods in net.i2p.crypto.eddsa.math with parameters of type CurveModifier and TypeMethodDescriptionstatic GroupElementGroupElement.cached(Curve curve, FieldElement ypX, FieldElement ymX, FieldElement z, FieldElement t2d) Creates a new group element in CACHED representation.booleanVerify that a point is on the curve.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.Constructors in net.i2p.crypto.eddsa.math with parameters of type CurveModifierConstructorDescriptionGroupElement(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.Uses of Curve in net.i2p.crypto.eddsa.spec
Fields in net.i2p.crypto.eddsa.spec declared as CurveModifier and TypeFieldDescriptionprivate final CurveEdDSAParameterSpec.curveThe curve parameters.private static final CurveEdDSANamedCurveTable.ed25519curveThe Ed25519 curve's parameters.Methods in net.i2p.crypto.eddsa.spec that return CurveModifier and TypeMethodDescriptionEdDSAParameterSpec.getCurve()Returns the curve used by this parameter specification.Constructors in net.i2p.crypto.eddsa.spec with parameters of type CurveModifierConstructorDescriptionEdDSANamedCurveSpec(String name, Curve curve, String hashAlgo, ScalarOps sc, GroupElement b) Create a named curve specification.EdDSAParameterSpec(Curve curve, String hashAlgo, ScalarOps sc, GroupElement b) Create a new EdDSA parameter specification.Uses of Curve in net.i2p.router.crypto.ratchet
Fields in net.i2p.router.crypto.ratchet declared as Curve