I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit dc5bfb22 authored by zzz's avatar zzz
Browse files

javadoc fixes part 4 (ticket #1894)

parent e461e8fb
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
......@@ -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.
......
......@@ -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.
*/
......
......@@ -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.
*/
......
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment