Skip to content

Commit 3d3bd76

Browse files
authored
Merge pull request bitcoin#160 from OrfeasLitos/clarify-choices
Rephrase "previous design choice" to "list above"
2 parents 9648889 + 8ca122e commit 3d3bd76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-schnorr.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Using the first option would be slightly more efficient for verification (around
7777
In the case of ''R'' the third option is slower at signing time but a bit faster to verify, as it is possible to directly compute whether the Y coordinate is a square when the points are represented in
7878
[https://en.wikibooks.org/wiki/Cryptography/Prime_Curve/Jacobian_Coordinates Jacobian coordinates] (a common optimization to avoid modular inverses
7979
for elliptic curve operations). The two other options require a possibly
80-
expensive conversion to affine coordinates first. This would even be the case if the sign or oddness were explicitly coded (option 2 in the previous design choice). We therefore choose option 3.
80+
expensive conversion to affine coordinates first. This would even be the case if the sign or oddness were explicitly coded (option 2 in the list above). We therefore choose option 3.
8181

8282
For ''P'' the speed of signing and verification does not significantly differ between any of the three options because affine coordinates of the point have to be computed anyway. For consistency reasons we choose the same option as for ''R''. The signing algorithm ensures that the signature is valid under the correct public key by negating the secret key if necessary.
8383

0 commit comments

Comments
 (0)