Skip to content

Commit 6b70cdb

Browse files
committed
Filled in point arithmetic
1 parent 9e761a9 commit 6b70cdb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ 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+
| `R = b * B` | `ge_scalarmult_base` | `GroupElement.scalarMultiply` |
28+
| `R = a * A + b * B` | `ge_double_scalarmult_vartime` | `GroupElement.doubleScalarMultiplyVariableTime` |
29+
| `R = 2 * P` | `ge_p2_dbl` | `GroupElement.dbl` |
30+
| `R = P + Q` | `ge_madd`, `ge_add` | `GroupElement.madd`, `GroupElement.add` |
31+
| `R = P - Q` | `ge_msub`, `ge_sub` | `GroupElement.msub`, `GroupElement.sub` |
2932

3033
Credits
3134
-------

0 commit comments

Comments
 (0)