X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/6baf2beaba0a9e7df4a3781be9dcc70671fdc550..814bf4c5e6e79dd20661786a5a32b5b287d252da:/utils/curve25519.sage diff --git a/utils/curve25519.sage b/utils/curve25519.sage index 24e74b12..f5375a79 100644 --- 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