Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- add(FieldElement) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
$h = f + g$
- add(FieldElement) - Method in class net.i2p.crypto.eddsa.math.FieldElement
- add(GroupElement) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
GroupElement addition using the twisted Edwards addition law with extended coordinates (Hisil2008).
- addOne() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- addOne() - Method in class net.i2p.crypto.eddsa.math.FieldElement
B
- BigIntegerFieldElement - Class in net.i2p.crypto.eddsa.math.bigint
-
A particular element of the field \Z/(2^255-19).
- BigIntegerFieldElement(Field, BigInteger) - Constructor for class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- BigIntegerLittleEndianEncoding - Class in net.i2p.crypto.eddsa.math.bigint
- BigIntegerLittleEndianEncoding() - Constructor for class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
- BigIntegerScalarOps - Class in net.i2p.crypto.eddsa.math.bigint
- BigIntegerScalarOps(Field, BigInteger) - Constructor for class net.i2p.crypto.eddsa.math.bigint.BigIntegerScalarOps
- bit(byte[], int) - Static method in class net.i2p.crypto.eddsa.Utils
-
Get the i'th bit of a byte array.
- bytesToHex(byte[]) - Static method in class net.i2p.crypto.eddsa.Utils
-
Converts bytes to a hex string.
C
- cached(Curve, FieldElement, FieldElement, FieldElement, FieldElement) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a new group element in CACHED representation.
- CACHED - Enum constant in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Cached: $(Y+X,Y-X,Z,2dT)$
- cmov(FieldElement, int) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- cmov(FieldElement, int) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
Constant-time conditional move.
- cmov(FieldElement, int) - Method in class net.i2p.crypto.eddsa.math.FieldElement
- createNamedCurveSpec(String) - Method in class net.i2p.crypto.eddsa.KeyPairGenerator
-
Create an EdDSANamedCurveSpec from the provided curve name.
- createPoint(byte[], boolean) - Method in class net.i2p.crypto.eddsa.math.Curve
- Curve - Class in net.i2p.crypto.eddsa.math
-
A twisted Edwards curve.
- Curve(Field, byte[], FieldElement) - Constructor for class net.i2p.crypto.eddsa.math.Curve
D
- dbl() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Doubles a given group element $p$ in $P^2$ or $P^3$ representation and returns the result in $P \times P$ representation.
- decode(byte[]) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
-
Decode a FieldElement from its $(b-1)$-bit encoding.
- decode(byte[]) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding
-
Decodes a given field element in its 10 byte $2^{25.5}$ representation.
- decode(byte[]) - Method in class net.i2p.crypto.eddsa.math.Encoding
-
Decode a FieldElement from its $(b-1)$-bit encoding.
- defineCurve(EdDSANamedCurveSpec) - Static method in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- divide(BigInteger) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- divide(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- divide(FieldElement) - Method in class net.i2p.crypto.eddsa.math.FieldElement
- doubleScalarMultiplyVariableTime(GroupElement, byte[], byte[]) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
$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.
E
- ED_25519 - Static variable in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- ED_25519_CURVE_SPEC - Static variable in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- Ed25519FieldElement - Class in net.i2p.crypto.eddsa.math.ed25519
-
Class to represent a field element of the finite field $p = 2^{255} - 19$ elements.
- Ed25519FieldElement(Field, int[]) - Constructor for class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
Creates a field element.
- Ed25519LittleEndianEncoding - Class in net.i2p.crypto.eddsa.math.ed25519
-
Helper class for encoding/decoding from/to the 32 byte representation.
- Ed25519LittleEndianEncoding() - Constructor for class net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding
- Ed25519ScalarOps - Class in net.i2p.crypto.eddsa.math.ed25519
-
Class for reducing a huge integer modulo the group order q and doing a combined multiply plus add plus reduce operation.
- Ed25519ScalarOps() - Constructor for class net.i2p.crypto.eddsa.math.ed25519.Ed25519ScalarOps
- EdDSAEngine - Class in net.i2p.crypto.eddsa
-
Signing and verification for EdDSA.
- EdDSAEngine() - Constructor for class net.i2p.crypto.eddsa.EdDSAEngine
-
No specific EdDSA-internal hash requested, allows any EdDSA key.
- EdDSAEngine(MessageDigest) - Constructor for class net.i2p.crypto.eddsa.EdDSAEngine
-
Specific EdDSA-internal hash requested, only matching keys will be allowed.
- EdDSAGenParameterSpec - Class in net.i2p.crypto.eddsa.spec
-
Implementation of AlgorithmParameterSpec that holds the name of a named EdDSA curve specification.
- EdDSAGenParameterSpec(String) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSAGenParameterSpec
- EdDSAKey - Interface in net.i2p.crypto.eddsa
-
Common interface for all EdDSA keys.
- EdDSANamedCurveSpec - Class in net.i2p.crypto.eddsa.spec
-
EdDSA Curve specification that can also be referred to by name.
- EdDSANamedCurveSpec(String, Curve, String, ScalarOps, GroupElement) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSANamedCurveSpec
- EdDSANamedCurveTable - Class in net.i2p.crypto.eddsa.spec
-
The named EdDSA curves.
- EdDSANamedCurveTable() - Constructor for class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- EdDSAParameterSpec - Class in net.i2p.crypto.eddsa.spec
-
Parameter specification for an EdDSA algorithm.
- EdDSAParameterSpec(Curve, String, ScalarOps, GroupElement) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- EdDSAPrivateKey - Class in net.i2p.crypto.eddsa
-
An EdDSA private key.
- EdDSAPrivateKey(PKCS8EncodedKeySpec) - Constructor for class net.i2p.crypto.eddsa.EdDSAPrivateKey
- EdDSAPrivateKey(EdDSAPrivateKeySpec) - Constructor for class net.i2p.crypto.eddsa.EdDSAPrivateKey
- EdDSAPrivateKeySpec - Class in net.i2p.crypto.eddsa.spec
- EdDSAPrivateKeySpec(byte[], byte[], byte[], GroupElement, EdDSAParameterSpec) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- EdDSAPrivateKeySpec(byte[], EdDSAParameterSpec) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- EdDSAPrivateKeySpec(EdDSAParameterSpec, byte[]) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
-
Initialize directly from the hash.
- EdDSAPublicKey - Class in net.i2p.crypto.eddsa
-
An EdDSA public key.
- EdDSAPublicKey(X509EncodedKeySpec) - Constructor for class net.i2p.crypto.eddsa.EdDSAPublicKey
- EdDSAPublicKey(EdDSAPublicKeySpec) - Constructor for class net.i2p.crypto.eddsa.EdDSAPublicKey
- EdDSAPublicKeySpec - Class in net.i2p.crypto.eddsa.spec
- EdDSAPublicKeySpec(byte[], EdDSAParameterSpec) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- EdDSAPublicKeySpec(GroupElement, EdDSAParameterSpec) - Constructor for class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- EdDSASecurityProvider - Class in net.i2p.crypto.eddsa
-
A security
Provider
that can be registered viaSecurity.addProvider(Provider)
- EdDSASecurityProvider() - Constructor for class net.i2p.crypto.eddsa.EdDSASecurityProvider
- EIGHT - Variable in class net.i2p.crypto.eddsa.math.Field
- encode(BigInteger) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
-
Convert $x$ to little endian.
- encode(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
- encode(FieldElement) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding
-
Encodes a given field element in its 32 byte representation.
- encode(FieldElement) - Method in class net.i2p.crypto.eddsa.math.Encoding
-
Encode a FieldElement in its $(b-1)$-bit encoding.
- Encoding - Class in net.i2p.crypto.eddsa.math
-
Common interface for all $(b-1)$-bit encodings of elements of EdDSA finite fields.
- Encoding() - Constructor for class net.i2p.crypto.eddsa.math.Encoding
- engineGeneratePrivate(KeySpec) - Method in class net.i2p.crypto.eddsa.KeyFactory
- engineGeneratePublic(KeySpec) - Method in class net.i2p.crypto.eddsa.KeyFactory
- engineGetKeySpec(Key, Class<T>) - Method in class net.i2p.crypto.eddsa.KeyFactory
- engineGetParameter(String) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
Deprecated.
- engineInitSign(PrivateKey) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- engineInitVerify(PublicKey) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- engineSetParameter(String, Object) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
Deprecated.
- engineSetParameter(AlgorithmParameterSpec) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- engineSign() - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- engineTranslateKey(Key) - Method in class net.i2p.crypto.eddsa.KeyFactory
- engineUpdate(byte) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- engineUpdate(byte[], int, int) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- engineVerify(byte[]) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- equal(byte[], byte[]) - Static method in class net.i2p.crypto.eddsa.Utils
-
Constant-time byte[] comparison.
- equal(int, int) - Static method in class net.i2p.crypto.eddsa.Utils
-
Constant-time byte comparison.
- equals(Object) - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- equals(Object) - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- equals(Object) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- equals(Object) - Method in class net.i2p.crypto.eddsa.math.Curve
- equals(Object) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
- equals(Object) - Method in class net.i2p.crypto.eddsa.math.Field
- equals(Object) - Method in class net.i2p.crypto.eddsa.math.GroupElement
- equals(Object) - Method in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
F
- f - Variable in class net.i2p.crypto.eddsa.math.Encoding
- f - Variable in class net.i2p.crypto.eddsa.math.FieldElement
- Field - Class in net.i2p.crypto.eddsa.math
-
An EdDSA finite field.
- Field(int, byte[], Encoding) - Constructor for class net.i2p.crypto.eddsa.math.Field
- FieldElement - Class in net.i2p.crypto.eddsa.math
-
Note: concrete subclasses must implement hashCode() and equals()
- FieldElement(Field) - Constructor for class net.i2p.crypto.eddsa.math.FieldElement
- FIPSComplianceCheck - Class in io.jenkins.plugins.eddsa_api
-
Prevent the plugin from being used in FIPS mode (it's not compliant in anyway shape or form!)
- FIPSComplianceCheck() - Constructor for class io.jenkins.plugins.eddsa_api.FIPSComplianceCheck
- FIVE - Variable in class net.i2p.crypto.eddsa.math.Field
- FOUR - Variable in class net.i2p.crypto.eddsa.math.Field
- fromByteArray(byte[]) - Method in class net.i2p.crypto.eddsa.math.Field
G
- generateKeyPair() - Method in class net.i2p.crypto.eddsa.KeyPairGenerator
- get2D() - Method in class net.i2p.crypto.eddsa.math.Curve
- geta() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- geta() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- getA() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- getA() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- getA() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- getA() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- getAbyte() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- getAbyte() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- getAlgorithm() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- getAlgorithm() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- getb() - Method in class net.i2p.crypto.eddsa.math.Field
- getB() - Method in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- getByName(String) - Static method in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- getCurve() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Gets the curve of the group element.
- getCurve() - Method in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- getD() - Method in class net.i2p.crypto.eddsa.math.Curve
- getEncoded() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
-
Returns the public key in its canonical encoding.
- getEncoded() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
-
Returns the public key in its canonical encoding.
- getEncoding() - Method in class net.i2p.crypto.eddsa.math.Field
- getField() - Method in class net.i2p.crypto.eddsa.math.Curve
- getFormat() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- getFormat() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- getH() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- getH() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- getHashAlgorithm() - Method in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- getI() - Method in class net.i2p.crypto.eddsa.math.Curve
- getName() - Method in class net.i2p.crypto.eddsa.spec.EdDSAGenParameterSpec
- getName() - Method in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveSpec
- getNegativeA() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- getNegativeA() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- getParams() - Method in interface net.i2p.crypto.eddsa.EdDSAKey
- getParams() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- getParams() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- getParams() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- getParams() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- getQ() - Method in class net.i2p.crypto.eddsa.math.Field
- getQm2() - Method in class net.i2p.crypto.eddsa.math.Field
- getQm5d8() - Method in class net.i2p.crypto.eddsa.math.Field
- getRepresentation() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Gets the representation of the group element.
- getScalarOps() - Method in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- getSeed() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- getSeed() - Method in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- getT() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Gets the $T$ value of the group element.
- getX() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Gets the $X$ value of the group element.
- getY() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Gets the $Y$ value of the group element.
- getZ() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Gets the $Z$ value of the group element.
- getZero(GroupElement.Representation) - Method in class net.i2p.crypto.eddsa.math.Curve
- GroupElement - Class in net.i2p.crypto.eddsa.math
-
A point $(x,y)$ on an EdDSA curve.
- GroupElement(Curve, byte[]) - Constructor for class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a group element for a curve from a given encoded point.
- GroupElement(Curve, byte[], boolean) - Constructor for class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a group element for a curve from a given encoded point.
- GroupElement(Curve, GroupElement.Representation, FieldElement, FieldElement, FieldElement, FieldElement) - Constructor for class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a group element for a curve, without any pre-computation.
- GroupElement(Curve, GroupElement.Representation, FieldElement, FieldElement, FieldElement, FieldElement, boolean) - Constructor for class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a group element for a curve, with optional pre-computation.
- GroupElement.Representation - Enum Class in net.i2p.crypto.eddsa.math
-
Available representations for a group element.
H
- hashCode() - Method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- hashCode() - Method in class net.i2p.crypto.eddsa.EdDSAPublicKey
- hashCode() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- hashCode() - Method in class net.i2p.crypto.eddsa.math.Curve
- hashCode() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
- hashCode() - Method in class net.i2p.crypto.eddsa.math.Field
- hashCode() - Method in class net.i2p.crypto.eddsa.math.GroupElement
- hashCode() - Method in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- hexToBytes(String) - Static method in class net.i2p.crypto.eddsa.Utils
-
Converts a hex string to bytes.
I
- initialize(int, SecureRandom) - Method in class net.i2p.crypto.eddsa.KeyPairGenerator
- initialize(AlgorithmParameterSpec, SecureRandom) - Method in class net.i2p.crypto.eddsa.KeyPairGenerator
- invert() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- invert() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
Invert this field element.
- invert() - Method in class net.i2p.crypto.eddsa.math.FieldElement
- io.jenkins.plugins.eddsa_api - package io.jenkins.plugins.eddsa_api
- isNegative() - Method in class net.i2p.crypto.eddsa.math.FieldElement
- isNegative(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
-
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$. - isNegative(FieldElement) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding
-
Is the FieldElement negative in this encoding?
- isNegative(FieldElement) - Method in class net.i2p.crypto.eddsa.math.Encoding
-
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. - isNonZero() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- isNonZero() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
Gets a value indicating whether or not the field element is non-zero.
- isNonZero() - Method in class net.i2p.crypto.eddsa.math.FieldElement
- isOnCurve() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Verify that a point is on its curve.
- isOnCurve(Curve) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Verify that a point is on the curve.
K
- KEY_ALGORITHM - Static variable in interface net.i2p.crypto.eddsa.EdDSAKey
-
The reported key algorithm for all EdDSA keys
- KeyFactory - Class in net.i2p.crypto.eddsa
- KeyFactory() - Constructor for class net.i2p.crypto.eddsa.KeyFactory
- KeyPairGenerator - Class in net.i2p.crypto.eddsa
-
Default keysize is 256 (Ed25519)
- KeyPairGenerator() - Constructor for class net.i2p.crypto.eddsa.KeyPairGenerator
M
- mod(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- modPow(FieldElement, FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- multiply(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- multiply(FieldElement) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
$h = f * g$
- multiply(FieldElement) - Method in class net.i2p.crypto.eddsa.math.FieldElement
- multiplyAndAdd(byte[], byte[], byte[]) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerScalarOps
- multiplyAndAdd(byte[], byte[], byte[]) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519ScalarOps
-
$(ab+c) \bmod q$
- multiplyAndAdd(byte[], byte[], byte[]) - Method in interface net.i2p.crypto.eddsa.math.ScalarOps
-
$r = (a * b + c) \bmod l$
N
- negate() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- negate() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
$h = -f$
- negate() - Method in class net.i2p.crypto.eddsa.math.FieldElement
- negate() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Negates this group element by subtracting it from the neutral group element.
- negative(int) - Static method in class net.i2p.crypto.eddsa.Utils
-
Constant-time determine if byte is negative.
- net.i2p.crypto.eddsa - package net.i2p.crypto.eddsa
-
Java implementation of EdDSA, a digital signature scheme using a variant of elliptic curve cryptography based on Twisted Edwards curves.
- net.i2p.crypto.eddsa.math - package net.i2p.crypto.eddsa.math
-
Data structures that definie curves and fields, and the mathematical operaions on them.
- net.i2p.crypto.eddsa.math.bigint - package net.i2p.crypto.eddsa.math.bigint
-
Low-level, non-optimized implementation using BigIntegers for any curve.
- net.i2p.crypto.eddsa.math.ed25519 - package net.i2p.crypto.eddsa.math.ed25519
-
Low-level, optimized implementation using Radix $2^{51}$ for Curve 25519.
- net.i2p.crypto.eddsa.spec - package net.i2p.crypto.eddsa.spec
-
Specifications for curves and keys, and a table for named curves.
O
- ONE - Variable in class net.i2p.crypto.eddsa.math.Field
- ONE_SHOT_MODE - Static variable in class net.i2p.crypto.eddsa.EdDSAEngine
-
To efficiently sign or verify data in one shot, pass this to setParameters() after initSign() or initVerify() but BEFORE THE FIRST AND ONLY update(data) or update(data, off, len).
P
- p1p1(Curve, FieldElement, FieldElement, FieldElement, FieldElement) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a new group element in P1P1 representation.
- P1P1 - Enum constant in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Completed ($P \times P$): $((X:Z),(Y:T))$ satisfying $x=X/Z, y=Y/T$
- p2(Curve, FieldElement, FieldElement, FieldElement) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a new group element in P2 representation.
- P2 - Enum constant in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Projective ($P^2$): $(X:Y:Z)$ satisfying $x=X/Z, y=Y/Z$
- p3(Curve, FieldElement, FieldElement, FieldElement, FieldElement) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a new group element in P3 representation, without pre-computation.
- p3(Curve, FieldElement, FieldElement, FieldElement, FieldElement, boolean) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a new group element in P3 representation, potentially with pre-computation.
- P3 - Enum constant in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Extended ($P^3$): $(X:Y:Z:T)$ satisfying $x=X/Z, y=Y/Z, XY=ZT$
- P3PrecomputedDouble - Enum constant in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Can only be requested.
- pow(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- pow22523() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- pow22523() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
Gets this field element to the power of $(2^{252} - 3)$.
- pow22523() - Method in class net.i2p.crypto.eddsa.math.FieldElement
- precomp(Curve, FieldElement, FieldElement, FieldElement) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Creates a new group element in PRECOMP representation.
- PRECOMP - Enum constant in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Precomputed (Duif): $(y+x,y-x,2dxy)$
- preventUsageInFipsMode() - Static method in class io.jenkins.plugins.eddsa_api.FIPSComplianceCheck
- PROVIDER_NAME - Static variable in class net.i2p.crypto.eddsa.EdDSASecurityProvider
R
- reduce(byte[]) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerScalarOps
- reduce(byte[]) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519ScalarOps
-
Reduction modulo the group order $q$.
- reduce(byte[]) - Method in interface net.i2p.crypto.eddsa.math.ScalarOps
-
Reduce the given scalar mod $l$.
S
- scalarMultiply(byte[]) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
$h = a * B$ where $a = a[0]+256*a[1]+\dots+256^{31} a[31]$ and $B$ is this point.
- ScalarOps - Interface in net.i2p.crypto.eddsa.math
- setField(Field) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
- setField(Field) - Method in class net.i2p.crypto.eddsa.math.Encoding
- setup() - Method in class net.i2p.crypto.eddsa.EdDSASecurityProvider
- SIGNATURE_ALGORITHM - Static variable in class net.i2p.crypto.eddsa.EdDSAEngine
- signOneShot(byte[]) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
To efficiently sign all the data in one shot, if it is available, use this method, which will avoid copying the data.
- signOneShot(byte[], int, int) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
To efficiently sign all the data in one shot, if it is available, use this method, which will avoid copying the data.
- square() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- square() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
$h = f * f$
- square() - Method in class net.i2p.crypto.eddsa.math.FieldElement
- squareAndDouble() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- squareAndDouble() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
$h = 2 * f * f$
- squareAndDouble() - Method in class net.i2p.crypto.eddsa.math.FieldElement
- sub(GroupElement) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
GroupElement subtraction using the twisted Edwards addition law with extended coordinates (Hisil2008).
- subtract(FieldElement) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- subtract(FieldElement) - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
$h = f - g$
- subtract(FieldElement) - Method in class net.i2p.crypto.eddsa.math.FieldElement
- subtractOne() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- subtractOne() - Method in class net.i2p.crypto.eddsa.math.FieldElement
T
- toBigInteger(byte[]) - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
-
Convert in to big endian
- toByteArray() - Method in class net.i2p.crypto.eddsa.math.FieldElement
-
Encode a FieldElement in its $(b-1)$-bit encoding.
- toByteArray() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Converts the group element to an encoded point on the curve.
- toCached() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Converts the group element to the CACHED representation.
- toP2() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Converts the group element to the P2 representation.
- toP3() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Converts the group element to the P3 representation.
- toP3PrecomputeDouble() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Converts the group element to the P3 representation, with dblPrecmp populated.
- toString() - Method in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- toString() - Method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
- toString() - Method in class net.i2p.crypto.eddsa.math.GroupElement
- TWO - Variable in class net.i2p.crypto.eddsa.math.Field
U
- Utils - Class in net.i2p.crypto.eddsa
-
Basic utilities for EdDSA.
- Utils() - Constructor for class net.i2p.crypto.eddsa.Utils
V
- valueOf(String) - Static method in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verifyOneShot(byte[], byte[]) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
To efficiently verify all the data in one shot, if it is available, use this method, which will avoid copying the data.
- verifyOneShot(byte[], byte[], int, int) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
To efficiently verify all the data in one shot, if it is available, use this method, which will avoid copying the data.
- verifyOneShot(byte[], int, int, byte[]) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
To efficiently verify all the data in one shot, if it is available, use this method, which will avoid copying the data.
- verifyOneShot(byte[], int, int, byte[], int, int) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
-
To efficiently verify all the data in one shot, if it is available, use this method, which will avoid copying the data.
Z
A B C D E F G H I K M N O P R S T U V ZAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form