Skip to content

Commit 9e761a9

Browse files
committed
Tidy up
1 parent 277e8d0 commit 9e761a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ For ease of following, here are the main methods in ref10 and their equivalents
2424

2525
| EdDSA point arithmetic | ref10 function | Java function |
2626
| ---------------------- | -------------- | ------------- |
27-
| Scalar multipication: `R = b * B` | `ge_scalarmult_base` | `GroupElement.scalarMultiply` |
28-
| Double scalar multiplication: `R = a * A + b * B` | `ge_double_scalarmult_vartime` | `GroupElement.doubleScalarMultiplyVariableTime` |
27+
| Scalar multipication: `R = b*B` | `ge_scalarmult_base` | `GroupElement.scalarMultiply` |
28+
| Double scalar multiplication: `R = a*A + b*B` | `ge_double_scalarmult_vartime` | `GroupElement.doubleScalarMultiplyVariableTime` |
2929

3030
Credits
3131
-------

src/net/i2p/crypto/eddsa/math/GroupElement.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ GroupElement select(int pos, int b) {
488488
}
489489

490490
/**
491-
* h = a * Bb where a = a[0]+256*a[1]+...+256^31 a[31] and
491+
* h = a * B where a = a[0]+256*a[1]+...+256^31 a[31] and
492492
* B is this point. If its lookup table has not been precomputed, it
493493
* will be at the start of the method (and cached for later calls).
494494
* Constant time.

0 commit comments

Comments
 (0)