Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- a - Variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- a - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- A - Variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- A - Variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- A - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- A - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- Abyte - Variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- Abyte - Variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- 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
- Aneg - Variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- Aneg - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- Assumption: - Search tag in net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding.encode(FieldElement)
- Section
B
- b - Variable in class net.i2p.crypto.eddsa.math.Field
- B - Variable in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- baos - Variable in class net.i2p.crypto.eddsa.EdDSAEngine
- bi - Variable in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
-
Variable is package private for encoding.
- 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 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
- cmov(GroupElement, int) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Constant-time conditional move.
- Constants - Class in net.i2p.crypto.eddsa.math
- Constants() - Constructor for class net.i2p.crypto.eddsa.math.Constants
- 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 - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Variable is package private only so that tests run.
- curve - Variable in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- 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
- curves - Static variable in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
D
- d - Variable in class net.i2p.crypto.eddsa.math.Curve
- d2 - Variable in class net.i2p.crypto.eddsa.math.Curve
- 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.
- dblPrecmp - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Precomputed table for
GroupElement.doubleScalarMultiplyVariableTime(GroupElement, byte[], byte[])
, filled if necessary. - decode(byte[]) - Static method in class net.i2p.crypto.eddsa.EdDSAPrivateKey
-
Extracts the private key bytes from the provided encoding.
- decode(byte[]) - Static method in class net.i2p.crypto.eddsa.EdDSAPublicKey
-
Extracts the public key bytes from the provided encoding.
- 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.
- DEFAULT_KEYSIZE - Static variable in class net.i2p.crypto.eddsa.KeyPairGenerator
- defineCurve(EdDSANamedCurveSpec) - Static method in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- defineCurveAlias(String, String) - Static method in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- digest - Variable in class net.i2p.crypto.eddsa.EdDSAEngine
- digestInitSign(EdDSAPrivateKey) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- 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
- ed25519curve - Static variable in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
- ed25519field - 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.
- EdDSAEngine.OneShotSpec - Class in net.i2p.crypto.eddsa
- 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
- edDsaSpec - Variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- edDsaSpec - Variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- edParameters - Static variable in class net.i2p.crypto.eddsa.KeyPairGenerator
- edParams - Variable in class net.i2p.crypto.eddsa.KeyPairGenerator
- EIGHT - Static variable in class net.i2p.crypto.eddsa.math.Constants
- EIGHT - Variable in class net.i2p.crypto.eddsa.math.Field
- enc - Variable in class net.i2p.crypto.eddsa.math.bigint.BigIntegerScalarOps
- enc - 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.Curve
- 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
- FIVE - Static variable in class net.i2p.crypto.eddsa.math.Constants
- FIVE - Variable in class net.i2p.crypto.eddsa.math.Field
- FOUR - Static variable in class net.i2p.crypto.eddsa.math.Constants
- 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 in net.i2p.crypto.eddsa.math
-
Available representations for a group element.
H
- h - Variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- h - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- hashAlgo - Variable in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- 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
- I - Variable in class net.i2p.crypto.eddsa.math.Curve
- IDLEN_BYTE - Static variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- IDLEN_BYTE - Static variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- initialize(int, SecureRandom) - Method in class net.i2p.crypto.eddsa.KeyPairGenerator
- initialize(AlgorithmParameterSpec, SecureRandom) - Method in class net.i2p.crypto.eddsa.KeyPairGenerator
- initialized - Variable 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
- 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 - Variable in class net.i2p.crypto.eddsa.EdDSAEngine
- 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
L
- l - Variable in class net.i2p.crypto.eddsa.math.bigint.BigIntegerScalarOps
- load_3(byte[], int) - Static method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding
- load_4(byte[], int) - Static method in class net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding
M
- madd(GroupElement) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
GroupElement addition using the twisted Edwards addition law with extended coordinates (Hisil2008).
- mask - Variable in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
-
Mask where only the first b-1 bits are set.
- 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
- msub(GroupElement) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
GroupElement subtraction using the twisted Edwards addition law with extended coordinates (Hisil2008).
- 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
- name - Variable in class net.i2p.crypto.eddsa.spec.EdDSAGenParameterSpec
- name - Variable in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveSpec
- 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
- OID_BYTE - Static variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- OID_BYTE - Static variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- OID_ED25519 - Static variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- OID_ED25519 - Static variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- OID_OLD - Static variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- OID_OLD - Static variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- ONE - Static variable in class net.i2p.crypto.eddsa.math.Constants
- 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).
- oneShotBytes - Variable in class net.i2p.crypto.eddsa.EdDSAEngine
- oneShotLength - Variable in class net.i2p.crypto.eddsa.EdDSAEngine
- oneShotMode - Variable in class net.i2p.crypto.eddsa.EdDSAEngine
- oneShotOffset - Variable in class net.i2p.crypto.eddsa.EdDSAEngine
- OneShotSpec() - Constructor for class net.i2p.crypto.eddsa.EdDSAEngine.OneShotSpec
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 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 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 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 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
- precmp - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Precomputed table for
GroupElement.scalarMultiply(byte[])
, filled if necessary. - 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 net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Precomputed (Duif): $(y+x,y-x,2dxy)$
- precomputeDouble() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Precomputes table for
GroupElement.doubleScalarMultiplyVariableTime(GroupElement, byte[], byte[])
. - precomputeSingle() - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Precomputes table for
GroupElement.scalarMultiply(byte[])
. - Proof: - Search tag in net.i2p.crypto.eddsa.math.ed25519.Ed25519LittleEndianEncoding.encode(FieldElement)
- Section
- PROVIDER_NAME - Static variable in class net.i2p.crypto.eddsa.EdDSASecurityProvider
- putCurve(String, EdDSANamedCurveSpec) - Static method in class net.i2p.crypto.eddsa.spec.EdDSANamedCurveTable
Q
- q - Variable in class net.i2p.crypto.eddsa.math.Field
- qm2 - Variable in class net.i2p.crypto.eddsa.math.Field
-
q-2
- qm5d8 - Variable in class net.i2p.crypto.eddsa.math.Field
-
(q-5) / 8
R
- random - Variable in class net.i2p.crypto.eddsa.KeyPairGenerator
- 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$.
- repr - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Variable is package private only so that tests run.
- Representation() - Constructor for enum net.i2p.crypto.eddsa.math.GroupElement.Representation
- reset() - Method in class net.i2p.crypto.eddsa.EdDSAEngine
S
- sc - Variable in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- 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
- seed - Variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- seed - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- select(int, int) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Look up $16^i r_i B$ in the precomputed table.
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.EdDSAPrivateKey
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.EdDSAPublicKey
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.EdDSASecurityProvider
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.math.bigint.BigIntegerFieldElement
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.math.bigint.BigIntegerLittleEndianEncoding
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.math.Curve
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.math.Field
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.math.FieldElement
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.math.GroupElement
- serialVersionUID - Static variable in class net.i2p.crypto.eddsa.spec.EdDSAParameterSpec
- 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.
- slide(byte[]) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Calculates a sliding-windows base 2 representation for a given value $a$.
- spec - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPrivateKeySpec
- spec - Variable in class net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- 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
- t - Variable in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
-
Variable is package private for encoding.
- T - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Variable is package private only so that tests run.
- 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.
- toRadix16(byte[]) - Static method in class net.i2p.crypto.eddsa.math.GroupElement
-
Convert a to radix 16.
- toRep(GroupElement.Representation) - Method in class net.i2p.crypto.eddsa.math.GroupElement
-
Convert a GroupElement from one Representation to another.
- 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 - Static variable in class net.i2p.crypto.eddsa.math.Constants
- 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 net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.i2p.crypto.eddsa.math.GroupElement.Representation
-
Returns an array containing the constants of this enum type, 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.
X
- X - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Variable is package private only so that tests run.
- x_engineSign() - Method in class net.i2p.crypto.eddsa.EdDSAEngine
- x_engineVerify(byte[]) - Method in class net.i2p.crypto.eddsa.EdDSAEngine
Y
- Y - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Variable is package private only so that tests run.
Z
- Z - Variable in class net.i2p.crypto.eddsa.math.GroupElement
-
Variable is package private only so that tests run.
- ZERO - Static variable in class net.i2p.crypto.eddsa.math.Constants
- ZERO - Static variable in class net.i2p.crypto.eddsa.math.ed25519.Ed25519FieldElement
- ZERO - Variable in class net.i2p.crypto.eddsa.math.Field
- zeroP2 - Variable in class net.i2p.crypto.eddsa.math.Curve
- zeroP3 - Variable in class net.i2p.crypto.eddsa.math.Curve
- zeroP3PrecomputedDouble - Variable in class net.i2p.crypto.eddsa.math.Curve
- zeroPrecomp - Variable in class net.i2p.crypto.eddsa.math.Curve
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form