~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6baf2be
)
utils/curve25519.sage: Remove second definition of `A0'.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 19 Oct 2017 18:03:55 +0000
(19:03 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 19 Oct 2017 18:03:55 +0000
(19:03 +0100)
utils/curve25519.sage
patch
|
blob
|
blame
|
history
diff --git
a/utils/curve25519.sage
b/utils/curve25519.sage
index
24e74b1
..
f5375a7
100644
(file)
--- a/
utils/curve25519.sage
+++ b/
utils/curve25519.sage
@@
-222,8
+222,6
@@
assert 5*quosqrt(k(4), k(5))^2 == 4
###--------------------------------------------------------------------------
### The Montgomery ladder.
-A0 = (A - 2)/4
-
def x25519(n, x1):
## Let Q = (x_1 : y_1 : 1) be an input point. We calculate