From e141b76203375eaad45ae571cee72a3f3d449c28 Mon Sep 17 00:00:00 2001 From: Taylor Hornby Date: Thu, 22 Apr 2021 14:31:55 -0600 Subject: [PATCH] Fix missing divide-by-Z Co-authored-by: str4d --- orchard_sinsemilla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchard_sinsemilla.py b/orchard_sinsemilla.py index 79fbaa2..aef017d 100755 --- a/orchard_sinsemilla.py +++ b/orchard_sinsemilla.py @@ -88,7 +88,7 @@ def map_to_curve_simple_swu(u): B = PALLAS_ISO_B Z = Fp(-13, False) c1 = -B / A - c2 = Fp(-1) + c2 = Fp(-1) / Z tv1 = Z * u.exp(2) tv2 = tv1.exp(2)