Skip to content

Commit 30837cb

Browse files
committed
Test JavaDoc formatting
1 parent a05d1ec commit 30837cb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

test/net/i2p/crypto/eddsa/math/GroupElementTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ public void constructorUsingByteArrayReturnsExpectedResult() {
168168

169169
/**
170170
* Test method for {@link GroupElement#toByteArray()}.
171+
* <p>
171172
* TODO 20141001 BR: why test with points which are not on the curve?
172173
*/
173174
@Test

test/net/i2p/crypto/eddsa/math/MathUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public static Field getField() {
5050

5151
/**
5252
* Converts a 2^25.5 bit representation to a BigInteger.
53+
* <p>
5354
* Value: 2^exponents[0] * t[0] + 2^exponents[1] * t[1] + ... + 2^exponents[9] * t[9]
5455
*
5556
* @param t The 2^25.5 bit representation.
@@ -66,6 +67,7 @@ public static BigInteger toBigInteger(final int[] t) {
6667

6768
/**
6869
* Converts a 2^8 bit representation to a BigInteger.
70+
* <p>
6971
* Value: bytes[0] + 2^8 * bytes[1] + ...
7072
*
7173
* @param bytes The 2^8 bit representation.
@@ -135,6 +137,7 @@ public static byte[] reduceModGroupOrder(final byte[] bytes) {
135137

136138
/**
137139
* Calculates (a * b + c) mod group order and returns the result.
140+
* <p>
138141
* a, b and c are given in 2^8 bit representation.
139142
*
140143
* @param a The first integer.
@@ -189,6 +192,7 @@ public static GroupElement getRandomGroupElement() {
189192

190193
/**
191194
* Creates a group element from a byte array.
195+
* <p>
192196
* Bit 0 to 254 are the affine y-coordinate, bit 255 is the sign of the affine x-coordinate.
193197
*
194198
* @param bytes the byte array.

0 commit comments

Comments
 (0)