diff --git a/core/java/src/net/i2p/crypto/eddsa/EdDSAEngine.java b/core/java/src/net/i2p/crypto/eddsa/EdDSAEngine.java index 5fd1557e52c662eb9a605fdb8e45f7f5cc3345f3..f693b946d78311be6b3dae42fd60cbf59418a5fe 100644 --- a/core/java/src/net/i2p/crypto/eddsa/EdDSAEngine.java +++ b/core/java/src/net/i2p/crypto/eddsa/EdDSAEngine.java @@ -435,7 +435,7 @@ public final class EdDSAEngine extends Signature { } /** - * @deprecated replaced with <a href="#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"> + * @deprecated replaced with <a href="#engineSetParameter(java.security.spec.AlgorithmParameterSpec)">this</a> */ @Override protected void engineSetParameter(String param, Object value) { diff --git a/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java b/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java index 3a6c57b8249ffaa324b58a90cf612e024ace075b..712fa7085ca952e37bf3087102a29715d9ea284f 100644 --- a/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java +++ b/core/java/src/net/i2p/crypto/eddsa/math/GroupElement.java @@ -33,6 +33,7 @@ public class GroupElement implements Serializable { * <li>P1P1: Completed representation ((X:Z), (Y:T)) satisfying x=X/Z, y=Y/T. * <li>PRECOMP: Precomputed representation (y+x, y-x, 2dxy). * <li>CACHED: Cached representation (Y+X, Y-X, Z, 2dT) + * </ul> */ public enum Representation { /** Projective (P^2): (X:Y:Z) satisfying x=X/Z, y=Y/Z */ @@ -220,6 +221,7 @@ public class GroupElement implements Serializable { * <li>If v * β = -u multiply β with i=sqrt(-1). * <li>Set x := β. * <li>If sign(x) != bit 255 of s then negate x. + * </ul> * * @param curve The curve. * @param s The encoded point. diff --git a/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java b/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java index 53cff91a0418bb92ada74e70a6775b5dcadd4de5..7f773e456b95f20a35c92aa6575b598d0c168ff0 100644 --- a/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java +++ b/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519FieldElement.java @@ -58,6 +58,7 @@ public class Ed25519FieldElement extends FieldElement { * Postconditions: * <p><ul> * <li>|h| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc. + * </ul> * * @param val The field element to add. * @return The field element this + val. @@ -86,6 +87,7 @@ public class Ed25519FieldElement extends FieldElement { * Postconditions: * <p><ul> * <li>|h| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc. + * </ul> * * @param val The field element to subtract. * @return The field element this - val. @@ -111,6 +113,7 @@ public class Ed25519FieldElement extends FieldElement { * Postconditions: * <p><ul> * <li>|h| bounded by 1.1*2^25,1.1*2^24,1.1*2^25,1.1*2^24,etc. + * </ul> * * @return The field element (-1) * this. */ diff --git a/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java b/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java index 670da6471c75de726a75474333bbe0d56f5badd4..611a0a1d8536dce29ae4eb06e4860d6f677f927a 100644 --- a/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java +++ b/core/java/src/net/i2p/crypto/eddsa/math/ed25519/Ed25519LittleEndianEncoding.java @@ -213,6 +213,7 @@ public class Ed25519LittleEndianEncoding extends Encoding { * Preconditions: * <p><ul> * <li>|x| bounded by 1.1*2^26,1.1*2^25,1.1*2^26,1.1*2^25,etc. + * </ul> * * @return true if x is in {1,3,5,...,q-2}, false otherwise. */ diff --git a/core/java/src/net/i2p/crypto/elgamal/ElGamalSigEngine.java b/core/java/src/net/i2p/crypto/elgamal/ElGamalSigEngine.java index b44dc5fbe08f1c4a4000b03c505710d65f786217..b3f26703dfddfff7a77b4b597e9648b37ba94037 100644 --- a/core/java/src/net/i2p/crypto/elgamal/ElGamalSigEngine.java +++ b/core/java/src/net/i2p/crypto/elgamal/ElGamalSigEngine.java @@ -147,7 +147,7 @@ public final class ElGamalSigEngine extends Signature { } /** - * @deprecated replaced with <a href="#engineSetParameter(java.security.spec.AlgorithmParameterSpec)"> + * @deprecated replaced with <a href="#engineSetParameter(java.security.spec.AlgorithmParameterSpec)">this</a> */ @Override protected void engineSetParameter(String param, Object value) {